v4/justfile
2025-04-05 22:02:17 -07:00

36 lines
No EOL
545 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 prettier tidy update-vendor-hash test
fmt:
go fmt ./...
prettier:
prettier -w -c **/*.{css,html,json,md}
tidy:
go mod tidy
update-vendor-hash:
scripts/update-vendor-hash.sh
test:
go test ./...
clean-repo:
rm -rf tmp result
open-chromium path="/testing/t/picker":
nix-shell -p chromium --command "chromium http://localhost:8170{{path}}"