GameEngine/Justfile

22 lines
276 B
Makefile
Raw Normal View History

2024-09-16 17:47:12 +00:00
_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 ./...