mirror of
https://github.com/clap-rs/clap
synced 2024-09-21 23:01:59 +00:00
c0d70febad
One can now use `Arg::allow_hyphen_values(true)` which will enable `--opt -val` style values only for the specific arg and not command wide. Closes #742
22 lines
691 B
Makefile
22 lines
691 B
Makefile
@update-contributors:
|
|
echo 'Removing old CONTRIBUTORS.md'
|
|
mv CONTRIBUTORS.md CONTRIBUTORS.md.bak
|
|
echo 'Downloading a list of new contributors'
|
|
echo "The following is a list of contributors in alphabetical order:" > CONTRIBUTORS.md
|
|
echo "" >> CONTRIBUTORS.md
|
|
echo "" >> CONTRIBUTORS.md
|
|
githubcontrib --owner kbknapp --repo clap-rs --sha master --cols 6 --format md --showlogin true --sortBy login >> CONTRIBUTORS.md
|
|
rm CONTRIBUTORS.md.bak
|
|
|
|
run-test TEST:
|
|
cargo test --test {{TEST}}
|
|
|
|
debug TEST:
|
|
cargo test --test {{TEST}} --features debug
|
|
|
|
run-tests:
|
|
cargo test --features "yaml unstable"
|
|
|
|
lint:
|
|
rustup override add nightly
|
|
cargo build --features lints && rustup override remove
|