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

View file

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