various tools I have been using throughout the years
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556knit := "knit"cargo := "cargo"# Show this help messagedefault: @just --list# Build every toolall: {{ knit }} all# Build one or more toolsbuild +targets: {{ knit }} {{ "bin/" + replace(targets, " ", " bin/") }}# Build and run a toolrun target *args: @{{ knit }} bin/{{ target }} && ./bin/{{ target }} {{ args }}# Build and copy tools to ~/.local/bindeploy +targets: {{ knit }} {{ "deploy/" + replace(targets, " ", " deploy/") }}# Run all test suitestest: {{ cargo }} test --workspace cd pracomer && zig build test cd wrd && go test ./... python3 -m unittest discover -s mpd/tests -v# Run `cargo clippy` over the workspaceclippy: {{ cargo }} clippy --workspace --all-targets# Format the Rust workspace with rustfmtrustfmt: {{ cargo }} fmt --all# Update `requirements.txt` lockfile from requirements.inpip-update: {{ knit }} .venv-stamp .venv/bin/pip install --quiet pip-tools .venv/bin/pip-compile --generate-hashes --strip-extras requirements.in -o requirements.txt# Update `Cargo.lock` lockfilecargo-lockfile: {{ cargo }} generate-lockfile# Remove build artifacts and cachesclean: {{ cargo }} clean for dir in pmn pracomer speediness; do rm -rf "$dir"/zig-out "$dir"/.zig-cache; done for dir in hue; do rm -rf "$dir"/vendor; done find bin -type f -delete rm -rf .venv .knit .venv-stamp