aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 7adf808..2361ac5 100644
--- a/Makefile
+++ b/Makefile
@@ -52,17 +52,7 @@ initdb:
make psql-query < ./backend/schema.sql
make psql-query < ./backend/fixtures/dev.sql
-.PHONY: openapi
-openapi: oapi-codegen openapi-typescript
-
-.PHONY: oapi-codegen
-oapi-codegen:
- cd backend; make oapi-codegen
-
-.PHONY: openapi-typescript
-openapi-typescript:
- cd frontend; make openapi-typescript
-
-.PHONY: sqlc
-sqlc:
- cd backend; make sqlc
+.PHONY: gen
+gen:
+ cd backend; make gen
+ cd frontend; npm run openapi-typescript