Files
tuffas/justfile

25 lines
493 B
Makefile

# by default list all just commands
default:
just --list
# run all tests
test:
#!/usr/bin/env bash
set -euxo pipefail
# would love test: fmt to make sure formatting happens but in WSL formatting is slow...
# poor filesystem access performance
echo "testing..."
nix flake check
# uv run ruff check src tests
#
# format code
fmt:
#!/usr/bin/env bash
set -euxo pipefail
nix fmt
# shouldn't actually be that hard to put into nix fmt but lazyyy