GameEngine/Justfile
Snoweuph 7489c466e6
Some checks failed
Quality Check / Linting (push) Successful in 11s
Quality Check / Static Analysis (push) Failing after 9s
Init
2024-09-16 20:13:50 +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 ./...