summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-04 19:58:52 +1200
committerChia <Chia@93.nz>2026-08-04 20:43:23 +1200
commit5b651488b081b65fda8a323f228e139adb79a35d (patch)
tree08baf40efb8fe103b32721cd991ff712323e3173 /Makefile
Build AI gateway control plane and admin UI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b8e638f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+.PHONY: build test vet run mock migrate
+
+build:
+ CGO_ENABLED=0 go build -buildvcs=false -trimpath -o aigw ./cmd/aigw
+
+test:
+ go test ./...
+
+vet:
+ go vet ./...
+
+run:
+ go run ./cmd/aigw -config config.json
+
+mock:
+ go run ./cmd/mockupstream
+
+migrate:
+ go run ./cmd/migrate