default: @just --list # Run the server, restarting on source changes start *ARGS: watchexec -r -e rs,toml,sql,css,js -- cargo run -- {{ ARGS }} # Run the server once run *ARGS: cargo run -- {{ ARGS }} # Run under the full-debuginfo profile, for a debugger debug *ARGS: cargo run --profile debugging -- {{ ARGS }} test: cargo test pytest tests/ check: cargo clippy --all-targets -- -D warnings npx stylelint "assets/**/*.css" "src/**/*.css" bash scripts/check-unused-css.sh fmt: cargo fmt nix fmt -- $(find . -name '*.nix' -not -path './target/*' -not -path './.direnv/*') oxfmt