GameEngine/Justfile
Snoweuph e19048569f
Some checks failed
Quality Check / Static Analysis (push) Failing after 12s
Quality Check / Linting (push) Failing after 15s
Init
2024-09-16 19:47:12 +02:00

21 lines
276 B
Makefile

_default:
just --choose
clean:
go mod vendor
build:
#!/bin/sh
if [ -n "$WAYLAND_DISPLAY" ]; then
tags="wayland"
else
tags=""
fi
go build -tags "$tags" -o ./game ./cmd/game/main.go
run: build
./game
check:
@golangci-lint run
@staticcheck ./...