trello-to-deck/justfile
Renovate Bot 6b706b21b5
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 3m39s
Test / build (map[name:stable]) (push) Successful in 3m34s
Release Please / Release-plz (push) Successful in 11s
chore(deps): update git.kemitix.net/kemitix/rust docker tag to v4
2025-01-16 13:27:44 +00:00

42 lines
977 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 --engine llvm --tests --line --skip-clean --out Html Lcov
cargo llvm-cov --html --tests
rm *.profraw
# cargo test
# cargo doc
# cargo test --example get
test-in-docker:
docker run --rm -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest cargo test
shell-in-docker:
docker run --rm -it -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest bash
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