Files
exo/justfile
Evan Quiney 991d278119 replace nix fmt with treefmt in just lint (#1301)
man evaluating the nix flake is so slow. treefmt speeeedy
2026-01-27 17:03:01 +00:00

41 lines
710 B
Makefile

export NIX_CONFIG := "extra-experimental-features = nix-command flakes"
fmt:
treefmt || nix fmt
lint:
uv run ruff check --fix
test:
uv run pytest src
check:
uv run basedpyright --project pyproject.toml
sync:
uv sync --all-packages
sync-clean:
uv sync --all-packages --force-reinstall --no-cache
rust-rebuild:
cargo run --bin stub_gen
just sync-clean
build-dashboard:
#!/usr/bin/env bash
cd dashboard
npm install
npm run build
package:
uv run pyinstaller packaging/pyinstaller/exo.spec
clean:
rm -rf **/__pycache__
rm -rf target/
rm -rf .venv
rm -rf dashboard/node_modules
rm -rf dashboard/.svelte-kit
rm -rf dashboard/build