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
|
2024-12-13 08:44:26 +00:00
|
|
|
cargo clippy --no-deps --fix --allow-dirty
|
2024-11-29 19:19:36 +00:00
|
|
|
cargo machete
|
2024-11-29 14:15:32 +00:00
|
|
|
# cargo build
|
2024-12-14 11:58:09 +00:00
|
|
|
cargo tarpaulin --engine llvm --tests --line --skip-clean --out Html Lcov
|
|
|
|
cargo llvm-cov --html --tests
|
|
|
|
rm *.profraw
|
2024-11-29 14:15:32 +00:00
|
|
|
# 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:
|
2024-12-04 19:37:39 +00:00
|
|
|
jj edit main --ignore-immutable
|
2024-11-29 14:31:40 +00:00
|
|
|
just jj-next-test
|
|
|
|
|
|
|
|
jj-next-test:
|
|
|
|
jj next --edit
|
2024-12-04 19:37:39 +00:00
|
|
|
jj bookmark move next --allow-backwards
|
2024-11-29 14:31:40 +00:00
|
|
|
just build
|
|
|
|
jj bookmark move main
|
|
|
|
just jj-next-test
|