fix: update Makefile with frontend targets
This commit is contained in:
parent
05919e4ecd
commit
7a156558b6
10
Makefile
10
Makefile
|
@ -1,3 +1,5 @@
|
||||||
|
all: generate backend frontend
|
||||||
|
|
||||||
.PHONY: migrate
|
.PHONY: migrate
|
||||||
migrate:
|
migrate:
|
||||||
go run -v ./scripts/migrate
|
go run -v ./scripts/migrate
|
||||||
|
@ -13,3 +15,11 @@ backend:
|
||||||
.PHONY: generate
|
.PHONY: generate
|
||||||
generate:
|
generate:
|
||||||
go generate ./...
|
go generate ./...
|
||||||
|
|
||||||
|
.PHONY: frontend
|
||||||
|
frontend:
|
||||||
|
cd frontend && pnpm install && pnpm build
|
||||||
|
|
||||||
|
.PHONY: dev
|
||||||
|
dev:
|
||||||
|
cd frontend && pnpm dev
|
||||||
|
|
Loading…
Reference in New Issue