organic/justfile

31 lines
584 B
Makefile

file := "-f ~/docs/site/content/"
verbose := "-v"
# export RUSTC_WRAPPER := "sccache"
# export RUST_LOG := "debug"
default:
just --list
build:
cargo build
build-release:
cargo build --release
run:
cargo run -- {{verbose}} {{file}}
run-release:
cargo run --release
clean:
cargo clean
test:
cargo nextest run
bench:
export NEXTEST_EXPERIMENTAL_BENCHMARKS=1
cargo nextest bench
profile:
samply record cargo run --release -- {{verbose}} {{file}}
alias b := build
alias r := run
alias br := build-release
alias rr := run-release
alias c := clean