You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
287 B
Makefile

2 years ago
NPM = pnpm
.PHONY: all
all: build-frontend build-backend
.PHONY: setup
setup:
mkdir -p out/frontend
mkdir -p out/backend
$(NPM) install
.PHONY: build-frontend
build-frontend:
$(NPM) run build
.PHONY: build-backend
build-backend:
go build -v -o out/backend/server ./cmd/server