mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix/dep cargo_toml: Bump to v0.12.1 (#418)
* Fix `cargo_toml`: Bump dep to v0.12.1 * Test `cargo-watch` in CI * Fix `*-test-Cargo.toml` used in integration tests Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
c86cba3cc4
commit
ae9f536400
6 changed files with 9 additions and 5 deletions
|
@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
|
|||
|
||||
[[bin]]
|
||||
name = "cargo-binstall"
|
||||
path = "src/main.rs"
|
|
@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
|
|||
|
||||
[[bin]]
|
||||
name = "cargo-binstall"
|
||||
path = "src/main.rs"
|
|
@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
|
|||
|
||||
[[bin]]
|
||||
name = "cargo-binstall"
|
||||
path = "src/main.rs"
|
5
.github/scripts/tests.sh
vendored
5
.github/scripts/tests.sh
vendored
|
@ -7,14 +7,15 @@ unset CARGO_HOME
|
|||
|
||||
# Install binaries using cargo-binstall
|
||||
# shellcheck disable=SC2086
|
||||
"./$1" binstall --log-level debug --no-confirm b3sum cargo-binstall
|
||||
"./$1" binstall --log-level debug --no-confirm b3sum cargo-binstall cargo-watch
|
||||
|
||||
# Test that the installed binaries can be run
|
||||
b3sum --version
|
||||
cargo-binstall --help >/dev/null
|
||||
cargo binstall --help >/dev/null
|
||||
cargo watch -V
|
||||
|
||||
test_resources=".github/scripts"
|
||||
test_resources=".github/scripts/cargo-tomls"
|
||||
|
||||
# Install binaries using `--manifest-path`
|
||||
"./$1" binstall --force --log-level debug --manifest-path "$test_resources/gitlab-test-Cargo.toml" --no-confirm cargo-binstall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue