mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Impl try multiple default bin dirs (#417)
From @passcod : * Make bin-dir an Option * Use cargo-release as a test case * WIP: Try multiple default bin dirs * Update bins.rs * Update cargo_toml_binstall.rs From @NobodyXu : * Optimize & Prepare for support multi `bin-path`s * Ensure quickinstall bin_dir work as usual. * Rm dup entries in `FULL_FILENAMES` * Add second version of `NOVERSION_FILENAMES` * Impl multiple default `bin-dir`s * Improve doc for `BinFile::from_product` * Fix tests.sh Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> Co-authored-by: Félix Saparelli <felix@passcod.name>
This commit is contained in:
parent
c27c3b80b5
commit
e034d69e12
8 changed files with 88 additions and 67 deletions
3
.github/scripts/tests.sh
vendored
3
.github/scripts/tests.sh
vendored
|
@ -7,10 +7,11 @@ unset CARGO_HOME
|
|||
|
||||
# Install binaries using cargo-binstall
|
||||
# shellcheck disable=SC2086
|
||||
"./$1" binstall --log-level debug --no-confirm b3sum cargo-binstall cargo-watch
|
||||
"./$1" binstall --log-level debug --no-confirm b3sum cargo-release cargo-binstall cargo-watch
|
||||
|
||||
# Test that the installed binaries can be run
|
||||
b3sum --version
|
||||
cargo-release release --version
|
||||
cargo-binstall --help >/dev/null
|
||||
cargo binstall --help >/dev/null
|
||||
cargo watch -V
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue