diff --git a/Makefile b/game/Makefile similarity index 81% rename from Makefile rename to game/Makefile index 05672e3..dd13b8c 100644 --- a/Makefile +++ b/game/Makefile @@ -17,10 +17,13 @@ test: @go test ./... -coverprofile artifacts/test/coverage.out -json > artifacts/test/coverage.json @go tool cover -html artifacts/test/coverage.out -o artifacts/test/coverage.html -build: vet test - @go build -o artifacts/bin/server cmd/http/main.go +build: vet + @go build -o artifacts/bin/server ./cmd/http/ .PHONY:build +run-server: build + @STORAGE_PATH=~/galaxy-server ./artifacts/bin/server + # Supplemental goals launch: