forked from mirrors/pronouns.cc
fix: update Makefile with frontend targets
This commit is contained in:
parent
05919e4ecd
commit
7a156558b6
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -1,3 +1,5 @@
|
|||
all: generate backend frontend
|
||||
|
||||
.PHONY: migrate
|
||||
migrate:
|
||||
go run -v ./scripts/migrate
|
||||
|
@ -13,3 +15,11 @@ backend:
|
|||
.PHONY: generate
|
||||
generate:
|
||||
go generate ./...
|
||||
|
||||
.PHONY: frontend
|
||||
frontend:
|
||||
cd frontend && pnpm install && pnpm build
|
||||
|
||||
.PHONY: dev
|
||||
dev:
|
||||
cd frontend && pnpm dev
|
||||
|
|
Loading…
Reference in a new issue