23 lines
462 B
Makefile
23 lines
462 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
|