diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:02:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:02:30 +0900 |
| commit | b05de1617c7ad323f582f7392e4e62c1f08af58e (patch) | |
| tree | d9b79a1fa6fb57945383a71bd208d4ef8f0889de /Makefile | |
| parent | 10b9be2c2a46b204f83be7d152ca62bf69e8843e (diff) | |
| download | iosdc-japan-2025-albatross-b05de1617c7ad323f582f7392e4e62c1f08af58e.tar.gz iosdc-japan-2025-albatross-b05de1617c7ad323f582f7392e4e62c1f08af58e.tar.zst iosdc-japan-2025-albatross-b05de1617c7ad323f582f7392e4e62c1f08af58e.zip | |
refactor: run code generation by `go generate`
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -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 |
