summaryrefslogtreecommitdiff
path: root/Makefile
blob: a51ea8d0101eeab2d8c3798203537a83ecb2c589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: build test test-race test-integration vet run mock migrate reconcile

build:
	CGO_ENABLED=0 go build -buildvcs=false -trimpath -o aigw ./cmd/aigw

test:
	go test ./...

test-race:
	go test -race ./...

test-integration:
	test -n "$$AIGW_TEST_DATABASE_URL"
	go test -count=1 -p=1 ./...

vet:
	go vet ./...

run:
	go run ./cmd/aigw -config config.json

mock:
	go run ./cmd/mockupstream

migrate:
	go run ./cmd/migrate

reconcile:
	go run ./cmd/reconcile-billing