trello-to-deck/justfile

35 lines
673 B
Makefile
Raw Normal View History

2024-11-29 14:15:32 +00:00
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
2024-11-29 19:19:36 +00:00
cargo machete
2024-11-29 14:15:32 +00:00
# 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
2024-11-29 14:31:40 +00:00
jj-next:
jj edit main --ignore-immutable
2024-11-29 14:31:40 +00:00
just jj-next-test
jj-next-test:
jj next --edit
jj bookmark move next --allow-backwards
2024-11-29 14:31:40 +00:00
just build
jj bookmark move main
just jj-next-test