v4/justfile
2025-03-27 10:19:25 -07:00

30 lines
No EOL
368 B
Makefile

watch:
air
run:
go run .
run-nix:
nix run .
run-container:
nix build .#container
docker load -i result
docker run -it --rm -p 8169:8169 localhost/roleypoly/roleypoly
precommit: fmt tidy update-vendor-hash test
fmt:
go fmt ./...
tidy:
go mod tidy
update-vendor-hash:
scripts/update-vendor-hash.sh
test:
go test ./...
clean-repo:
rm -rf tmp result