fix: update Makefile with frontend targets

This commit is contained in:
Sam 2023-03-17 14:14:12 +01:00
parent 05919e4ecd
commit 7a156558b6
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 10 additions and 0 deletions

View File

@ -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