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