summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-05 22:01:29 +1200
committerChia <Chia@93.nz>2026-08-05 22:07:50 +1200
commiteadb2ffe85c43cf6fc741c9823cd28eedb4a844c (patch)
tree1aba2536d57360da403aa35c9ced58b615c7064e /Makefile
parentcd0dd91ab93653631904f2ea0e574ccde6d60339 (diff)
feat: harden prepaid billing and commercial operations
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b8e638f..a51ea8d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: build test vet run mock migrate
+.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
@@ -6,6 +6,13 @@ build:
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 ./...
@@ -17,3 +24,6 @@ mock:
migrate:
go run ./cmd/migrate
+
+reconcile:
+ go run ./cmd/reconcile-billing