aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 21:35:25 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 21:35:25 +0900
commitf6443042fbec1bd394439904f3c69e23709f7e6a (patch)
tree46872e86ed7e42962895e0bfe04064387487523f /Makefile
parent10b9be2c2a46b204f83be7d152ca62bf69e8843e (diff)
parent94d5d89aa59b6d1e53dab280c26e3a8fcb22b7e4 (diff)
downloadphperkaigi-2025-albatross-f6443042fbec1bd394439904f3c69e23709f7e6a.tar.gz
phperkaigi-2025-albatross-f6443042fbec1bd394439904f3c69e23709f7e6a.tar.zst
phperkaigi-2025-albatross-f6443042fbec1bd394439904f3c69e23709f7e6a.zip
Merge branch 'refactor/api'
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