Just create show-help task
This commit is contained in:
parent
2c9a7f396c
commit
fce9c7241b
1 changed files with 5 additions and 0 deletions
5
justfile
5
justfile
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env just --justfile
|
||||
|
||||
alias r := run
|
||||
alias h := show-help
|
||||
alias t := test
|
||||
alias l := lint
|
||||
alias c := check
|
||||
|
@ -23,6 +24,10 @@ lint:
|
|||
run:
|
||||
RUST_BACKTRACE=1 RUST_LOG=debug cargo run --all-features
|
||||
|
||||
# Run the program with all features enabled and use the `--help` flag
|
||||
show-help:
|
||||
cargo run --all-features -- --help
|
||||
|
||||
# Run the tests, and genrate a coverage report
|
||||
coverage:
|
||||
CARGO_INCREMENTAL=0 RUSTFLAGS="-Cinstrument-coverage" LLVM_PROFILE_FILE="target/coverage/data/cargo-test-%p-%m.profraw" cargo test --all-features
|
||||
|
|
Loading…
Reference in a new issue