mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
commit
020d55e832
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -4,7 +4,7 @@
|
|||
# - Easy to debug: show the command being run
|
||||
# - Leverage CI features: Only run individual steps so we can use features like reporting elapsed time per step
|
||||
|
||||
ARGS?=
|
||||
ARGS?=--workspace
|
||||
TOOLCHAIN_TARGET ?=
|
||||
ifneq (${TOOLCHAIN_TARGET},)
|
||||
ARGS+=--target ${TOOLCHAIN_TARGET}
|
||||
|
@ -22,7 +22,7 @@ check-%:
|
|||
cargo check ${_FEATURES_${@:check-%=%}} --all-targets ${ARGS}
|
||||
|
||||
build-%:
|
||||
cargo test ${_FEATURES_${@:build-%=%}} --no-run ${ARGS}
|
||||
cargo test ${_FEATURES_${@:build-%=%}} --all-targets --no-run ${ARGS}
|
||||
|
||||
test-%:
|
||||
cargo test ${_FEATURES_${@:test-%=%}} ${ARGS}
|
||||
cargo test ${_FEATURES_${@:test-%=%}} --all-targets ${ARGS}
|
||||
|
|
Loading…
Reference in a new issue