aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Makefile')
-rw-r--r--backend/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/backend/Makefile b/backend/Makefile
index cae3b16..8213e5d 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -1,3 +1,15 @@
+.PHONY: fmt
+fmt:
+ go fmt ./...
+
+.PHONY: check
+check:
+ go build -o /dev/null ./...
+
+.PHONY: oapi-codegen
+oapi-codegen:
+ go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-codegen.yaml ../openapi.yaml
+
.PHONY: sqlc
sqlc:
go run github.com/sqlc-dev/sqlc/cmd/sqlc generate