trello-to-deck/justfile
Paul Campbell 7762007f58
Some checks failed
Test / build (map[name:nightly]) (push) Failing after 30s
Test / build (map[name:stable]) (push) Failing after 31s
build: clippy will apply any fixes it can
2024-12-13 20:48:23 +00:00

34 lines
703 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 --no-deps --fix --allow-dirty
cargo machete
# 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 --ignore-immutable
just jj-next-test
jj-next-test:
jj next --edit
jj bookmark move next --allow-backwards
just build
jj bookmark move main
just jj-next-test