summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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