From fce9c7241bd14fd464d19b2f2e4f92ace7d3719e Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Fri, 17 Feb 2023 05:41:16 +0200 Subject: [PATCH] Just create show-help task --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index 019c35c..f04dd81 100755 --- a/justfile +++ b/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