mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +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]]
|
[[bin]]
|
||||||
name = "cargo-binstall"
|
name = "cargo-binstall"
|
||||||
|
path = "src/main.rs"
|
|
@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "cargo-binstall"
|
name = "cargo-binstall"
|
||||||
|
path = "src/main.rs"
|
|
@ -13,3 +13,4 @@ bin-dir = "{ bin }{ binary-ext }"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "cargo-binstall"
|
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
|
# Install binaries using cargo-binstall
|
||||||
# shellcheck disable=SC2086
|
# 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
|
# Test that the installed binaries can be run
|
||||||
b3sum --version
|
b3sum --version
|
||||||
cargo-binstall --help >/dev/null
|
cargo-binstall --help >/dev/null
|
||||||
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`
|
# Install binaries using `--manifest-path`
|
||||||
"./$1" binstall --force --log-level debug --manifest-path "$test_resources/gitlab-test-Cargo.toml" --no-confirm cargo-binstall
|
"./$1" binstall --force --log-level debug --manifest-path "$test_resources/gitlab-test-Cargo.toml" --no-confirm cargo-binstall
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -221,9 +221,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cargo_toml"
|
name = "cargo_toml"
|
||||||
version = "0.12.0"
|
version = "0.12.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1aecd74f843e919090741163a59948751f6f57b5a9b3d7a4a4d278e17b6a16cf"
|
checksum = "c820ea238df9b9054d3401b1d441b4cd6f461646fc55cbc60fabf9d2088b7f3a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"toml",
|
"toml",
|
||||||
|
|
|
@ -13,7 +13,7 @@ license = "GPL-3.0"
|
||||||
async-trait = "0.1.57"
|
async-trait = "0.1.57"
|
||||||
bytes = "1.2.1"
|
bytes = "1.2.1"
|
||||||
bzip2 = "0.4.3"
|
bzip2 = "0.4.3"
|
||||||
cargo_toml = "0.12.0"
|
cargo_toml = "0.12.1"
|
||||||
clap = { version = "3.2.22", features = ["derive"] }
|
clap = { version = "3.2.22", features = ["derive"] }
|
||||||
compact_str = { version = "0.6.0", features = ["serde"] }
|
compact_str = { version = "0.6.0", features = ["serde"] }
|
||||||
crates_io_api = { version = "0.8.1", default-features = false }
|
crates_io_api = { version = "0.8.1", default-features = false }
|
||||||
|
|
Loading…
Add table
Reference in a new issue