lumina/justfile
Chris Cochrun 5e46dbae17
Some checks are pending
/ test (push) Waiting to run
a better way to profile
2026-02-09 19:11:55 -06:00

32 lines
669 B
Makefile

ui := "-i"
verbose := "-v"
file := "~/dev/lumina-iced/test_presentation.lisp"
export RUSTC_WRAPPER := "sccache"
# export RUST_LOG := "debug"
default:
just --list
build:
cargo build
build-release:
cargo build --release
run:
cargo run -- {{verbose}} {{ui}}
run-release:
cargo run --release -- {{verbose}} {{ui}}
run-file:
cargo run -- {{verbose}} {{ui}} {{file}}
clean:
cargo clean
test:
cargo test --benches --tests --all-features -- --nocapture
profile:
samply record cargo run --release -- {{verbose}} {{ui}}
alias b := build
alias r := run
alias br := build-release
alias rr := run-release
alias rf := run-file
alias c := clean