trello-to-deck/justfile
2024-12-10 20:26:12 +00:00

33 lines
620 B
Makefile

build:
#!/usr/bin/env bash
set -e
export RUSTFLAGS="-Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Cinstrument-coverage -Clink-dead-code"
cargo fmt
cargo fmt --check
cargo clippy
# cargo build
cargo tarpaulin --skip-clean --out Html
# cargo test
# cargo doc
# cargo test --example get
build-mutations: build mutations
mutations:
cargo mutants --jobs 4 --baseline skip
# doc-test:
# cargo doc
# cargo test
# cargo test --example get
jj-next:
jj edit main
just jj-next-test
jj-next-test:
jj next --edit
jj bookmark move next
just build
jj bookmark move main
just jj-next-test