mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 06:40:03 +00:00
fix(resolve): prefer official binaries (#1741)
* prefer official binaries with secondary targets over quickinstall binaries * chore(test): add jj-cli to live e2e test
This commit is contained in:
parent
38f8eb4b1a
commit
250814f530
2 changed files with 11 additions and 7 deletions
|
@ -8,7 +8,7 @@ unset CARGO_INSTALL_ROOT
|
|||
# to find versions matching <= 1.3.3
|
||||
# - `cargo-quickinstall` would test `fetch_crate_cratesio_version_matched` ability
|
||||
# to find latest stable version.
|
||||
crates="b3sum@<=1.3.3 cargo-release@0.24.9 cargo-binstall@0.20.1 cargo-watch@8.4.0 miniserve@0.23.0 sccache@0.3.3 cargo-quickinstall"
|
||||
crates="b3sum@<=1.3.3 cargo-release@0.24.9 cargo-binstall@0.20.1 cargo-watch@8.4.0 miniserve@0.23.0 sccache@0.3.3 cargo-quickinstall jj-cli@0.18.0"
|
||||
|
||||
CARGO_HOME=$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home')
|
||||
export CARGO_HOME
|
||||
|
@ -54,3 +54,8 @@ echo "$miniserve_version"
|
|||
[ "$miniserve_version" = "miniserve 0.23.0" ]
|
||||
|
||||
cargo-quickinstall -V
|
||||
|
||||
jj_version="$(jj --version)"
|
||||
echo "$jj_version"
|
||||
|
||||
[ "$jj_version" = "jj 0.18.0-9fb5307b7886e390c02817af7c31b403f0279144" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue