Files
olons_server/Makefile
T

17 lines
303 B
Makefile

.PHONY: build test run web-install web-build
build:
go build -o bin/olons_server ./cmd/olons_server
test:
go test ./...
run:
OLONS_SERVER_CONFIG=configs/olons_server.local.json go run ./cmd/olons_server
web-install:
cd web && pnpm install --frozen-lockfile
web-build:
cd web && pnpm run build