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
286 B
Makefile

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