mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-29 02:20:22 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10b774e4cd | ||
|
|
d5fae932b8 | ||
|
|
0329ca5b7b | ||
|
|
d1bca82356 | ||
|
|
6d509c1efb | ||
|
|
b184acdcd4 | ||
|
|
e52d622f2d | ||
|
|
a9f98a05a1 | ||
|
|
d70e241ae4 | ||
|
|
c0ee75ff2e | ||
|
|
e49357f968 | ||
|
|
b208058c0b |
1
.github/.cspell/project-dictionary.txt
vendored
1
.github/.cspell/project-dictionary.txt
vendored
@@ -2,6 +2,7 @@ almalinux
|
||||
bindgen
|
||||
binstall
|
||||
coreutils
|
||||
cyclonedx
|
||||
distro
|
||||
doas
|
||||
dprint
|
||||
|
||||
26
CHANGELOG.md
26
CHANGELOG.md
@@ -10,6 +10,26 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.31.2] - 2024-03-28
|
||||
|
||||
- Fix `cargo-spellcheck` installation bug. ([#428](https://github.com/taiki-e/install-action/pull/428))
|
||||
|
||||
## [2.31.1] - 2024-03-28
|
||||
|
||||
- Update `protoc@latest` to 3.26.1.
|
||||
|
||||
## [2.31.0] - 2024-03-27
|
||||
|
||||
- Support `typos`. ([#422](https://github.com/taiki-e/install-action/pull/422), thanks @jayvdb)
|
||||
|
||||
- Support `cargo-spellcheck`. ([#423](https://github.com/taiki-e/install-action/pull/423), thanks @jayvdb)
|
||||
|
||||
## [2.30.0] - 2024-03-27
|
||||
|
||||
- Support `cargo-cyclonedx`. ([#424](https://github.com/taiki-e/install-action/pull/424), thanks @jayvdb)
|
||||
|
||||
- Update `cargo-hack@latest` to 0.6.23.
|
||||
|
||||
## [2.29.8] - 2024-03-26
|
||||
|
||||
- Update `syft@latest` to 1.1.0.
|
||||
@@ -1947,7 +1967,11 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.8...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.31.2...HEAD
|
||||
[2.31.2]: https://github.com/taiki-e/install-action/compare/v2.31.1...v2.31.2
|
||||
[2.31.1]: https://github.com/taiki-e/install-action/compare/v2.31.0...v2.31.1
|
||||
[2.31.0]: https://github.com/taiki-e/install-action/compare/v2.30.0...v2.31.0
|
||||
[2.30.0]: https://github.com/taiki-e/install-action/compare/v2.29.8...v2.30.0
|
||||
[2.29.8]: https://github.com/taiki-e/install-action/compare/v2.29.7...v2.29.8
|
||||
[2.29.7]: https://github.com/taiki-e/install-action/compare/v2.29.6...v2.29.7
|
||||
[2.29.6]: https://github.com/taiki-e/install-action/compare/v2.29.5...v2.29.6
|
||||
|
||||
@@ -85,6 +85,7 @@ https://spdx.org/licenses
|
||||
| [**cargo-audit**](https://github.com/rustsec/rustsec/tree/HEAD/cargo-audit) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustsec/rustsec/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-APACHE) OR [MIT](https://github.com/rustsec/rustsec/blob/HEAD/cargo-audit/LICENSE-MIT) |
|
||||
| [**cargo-binstall**][cargo-binstall] | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cargo-bins/cargo-binstall/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE) |
|
||||
| [**cargo-careful**](https://github.com/RalfJung/cargo-careful) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/RalfJung/cargo-careful/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/RalfJung/cargo-careful/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-cyclonedx**](https://github.com/CycloneDX/cyclonedx-rust-cargo) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-rust-cargo/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-rust-cargo/blob/HEAD/LICENSE) |
|
||||
| [**cargo-deny**](https://github.com/EmbarkStudios/cargo-deny) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/EmbarkStudios/cargo-deny/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/EmbarkStudios/cargo-deny/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-dinghy**](https://github.com/sonos/dinghy) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sonos/dinghy/releases) | Linux, macOS | [Apache-2.0](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/sonos/dinghy/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-export**](https://github.com/bazhenov/cargo-export) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bazhenov/cargo-export/releases) | Linux, macOS, Windows | [MIT](https://github.com/bazhenov/cargo-export/blob/HEAD/LICENSE) |
|
||||
@@ -96,6 +97,7 @@ https://spdx.org/licenses
|
||||
| [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-rdme**](https://github.com/orium/cargo-rdme) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orium/cargo-rdme/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/orium/cargo-rdme/blob/HEAD/LICENSE.md) |
|
||||
| [**cargo-sort**](https://github.com/DevinR528/cargo-sort) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/DevinR528/cargo-sort/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5) |
|
||||
| [**cargo-spellcheck**](https://github.com/drahnr/cargo-spellcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/drahnr/cargo-spellcheck/releases) | Linux and Windows | [LGPLv2.1](https://github.com/drahnr/cargo-spellcheck/blob/f60c81ad0134c12faf08715f08d14f66e749f6e7/docs/checkers.md#nlprules) |
|
||||
| [**cargo-tarpaulin**](https://github.com/xd009642/tarpaulin) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/xd009642/tarpaulin/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-MIT) |
|
||||
| [**cargo-udeps**](https://github.com/est31/cargo-udeps) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/est31/cargo-udeps/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE) |
|
||||
| [**cargo-valgrind**](https://github.com/jfrimmel/cargo-valgrind) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/jfrimmel/cargo-valgrind/releases) | Linux, macOS, Windows | [MIT](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-MIT) or [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-APACHE) |
|
||||
@@ -114,6 +116,7 @@ https://spdx.org/licenses
|
||||
| [**shellcheck**](https://www.shellcheck.net) | `/usr/local/bin` | [GitHub Releases](https://github.com/koalaman/shellcheck/releases) | Linux, macOS, Windows | [GPL-3.0-or-later](https://github.com/koalaman/shellcheck/blob/HEAD/LICENSE) |
|
||||
| [**shfmt**](https://github.com/mvdan/sh) | `/usr/local/bin` | [GitHub Releases](https://github.com/mvdan/sh/releases) | Linux, macOS, Windows | [BSD-3-Clause](https://github.com/mvdan/sh/blob/HEAD/LICENSE) |
|
||||
| [**syft**](https://github.com/anchore/syft) | `/usr/local/bin` | [Github Releases](https://github.com/anchore/syft/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/anchore/syft/blob/HEAD/LICENSE) |
|
||||
| [**typos**](https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [Github Releases](https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/crate-ci/typos/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/crate-ci/typos/blob/HEAD/LICENSE-MIT) |
|
||||
| [**valgrind**](https://valgrind.org) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0-or-later](https://valgrind.org/docs/manual/license.gpl.html) |
|
||||
| [**wasm-bindgen**](https://github.com/rustwasm/wasm-bindgen) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-bindgen/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-bindgen/blob/HEAD/LICENSE-MIT) |
|
||||
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/rustwasm/wasm-pack/blob/HEAD/LICENSE-MIT) |
|
||||
|
||||
31
manifests/cargo-cyclonedx.json
generated
Normal file
31
manifests/cargo-cyclonedx.json
generated
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"rust_crate": "cargo-cyclonedx",
|
||||
"template": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-linux-amd64.tar.gz"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-Darwin-x86_64.tar.gz"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/CycloneDX/cyclonedx-rust-cargo/releases/download/cargo-cyclonedx-${version}/cargo-cyclonedx-Win-x86_64.zip"
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.5.0"
|
||||
},
|
||||
"0.5": {
|
||||
"version": "0.5.0"
|
||||
},
|
||||
"0.5.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "7daa885e9b6f59bf7674a2972bf1f37d9e21ab7461c3e2f9c59e99a966ab6026"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "70b197f8095fe2473baef1d96dd4409abb1aef20aeeea00f8a0cbebc25528ddb"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "11e063c29bdd85ceb061b30aa11073238a8c93302b1ff3f5ac37e91ac90b425a"
|
||||
}
|
||||
}
|
||||
}
|
||||
30
manifests/cargo-hack.json
generated
30
manifests/cargo-hack.json
generated
@@ -2,10 +2,36 @@
|
||||
"rust_crate": "cargo-hack",
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "0.6.22"
|
||||
"version": "0.6.23"
|
||||
},
|
||||
"0.6": {
|
||||
"version": "0.6.22"
|
||||
"version": "0.6.23"
|
||||
},
|
||||
"0.6.23": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
|
||||
"checksum": "93769457e869d0bd5ae322666cc04f2515d558bc10c7d5da872eac6aaef25c43"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-apple-darwin.tar.gz",
|
||||
"checksum": "c47a23a2a4e71d0a6f74344a87a38872e0b6dbc68ee86cc6c5df4d872080ef09"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
|
||||
"checksum": "90edc889f244a17bdc1a74944b751d2a9176ae86eb40917ccc0ca24fe69192b3"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
|
||||
"checksum": "82ce9c3262e5c948555c3097562ffc6c16aa284d3aabf7d6b221fada37b25f9c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-apple-darwin.tar.gz",
|
||||
"checksum": "54fdf9c43aaeb5b1d40154fddc84769a78c2c8854939cd5b174c9fe1eff4f5ec"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.23/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
|
||||
"checksum": "11e559db60945df66521b39f3168d0381ab97d5eeb0bc6b9acd16635b1ec342b"
|
||||
}
|
||||
},
|
||||
"0.6.22": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
41
manifests/cargo-spellcheck.json
generated
Normal file
41
manifests/cargo-spellcheck.json
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"rust_crate": "cargo-spellcheck",
|
||||
"template": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.13.2"
|
||||
},
|
||||
"0.13": {
|
||||
"version": "0.13.2"
|
||||
},
|
||||
"0.13.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "f547b8f992dcc43f8a4106bae8b090ecb3fcb7ef6ce336081c22636f70e876d9"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "f54fb8243497258115d1eb55b99bfc94ab3e09636c78665d3b6410885ba9190a"
|
||||
}
|
||||
},
|
||||
"0.13.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "17af34dbefad5c45d23df3e4e81b0addc78782db0ed2e8e491a1532761463e1e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "d18c19a3c5e7eb9ea516e691b54a4517a60517b6b1fb75b7f56a0c1dcc9b177e"
|
||||
}
|
||||
},
|
||||
"0.13.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "41e99240e55f38cc6d43d7ea9f2ccd448f584eefdc262129e4238f057d995923"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "57d45d5942d7ccd49599aae549c0bd5d906868eaeb39481088e55001d65f4784"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
manifests/protoc.json
generated
28
manifests/protoc.json
generated
@@ -2,13 +2,35 @@
|
||||
"rust_crate": null,
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3.26": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3.26.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip",
|
||||
"checksum": "a7be2928c0454f132c599e25b79b7ad1b57663f2337d7f7e468a1d59b98ec1b0"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-x86_64.zip",
|
||||
"checksum": "febd8821c3a2a23f72f4641471e0ab6486f4fb07b68111490a27a31681465b3c"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-win64.zip",
|
||||
"checksum": "9090d135a1159042b13b4e51b210e40cb820d85a5032a6eca5f9b3ca3bdfb539"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-aarch_64.zip",
|
||||
"checksum": "64a3b3b5f7dac0c8f9cf1cb85b2b1a237eb628644f6bcb0fb8f23db6e0d66181"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-aarch_64.zip",
|
||||
"checksum": "26a29befa8891ecc48809958c909d284f2b9539a2eb47f22cadc631fe6abe8fd"
|
||||
}
|
||||
},
|
||||
"3.26.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
1715
manifests/typos.json
generated
Normal file
1715
manifests/typos.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,8 @@ cd "$(dirname "$0")"/../..
|
||||
|
||||
# They don't provide prebuilt binaries for musl or old glibc host.
|
||||
glibc_pre_2_34_incompat=(
|
||||
cargo-cyclonedx
|
||||
cargo-spellcheck
|
||||
xbuild
|
||||
)
|
||||
glibc_pre_2_31_incompat=(
|
||||
|
||||
17
tools/codegen/base/cargo-cyclonedx.json
Normal file
17
tools/codegen/base/cargo-cyclonedx.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"repository": "https://github.com/CycloneDX/cyclonedx-rust-cargo",
|
||||
"tag_prefix": "cargo-cyclonedx-",
|
||||
"rust_crate": "${package}",
|
||||
"version_range": ">= 0.5.0",
|
||||
"platform": {
|
||||
"x86_64_macos": {
|
||||
"asset_name": "${package}-Darwin-x86_64.tar.gz"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-Win-x86_64.zip"
|
||||
},
|
||||
"x86_64_linux_gnu": {
|
||||
"asset_name": "${package}-linux-amd64.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
13
tools/codegen/base/cargo-spellcheck.json
Normal file
13
tools/codegen/base/cargo-spellcheck.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"repository": "https://github.com/drahnr/cargo-spellcheck",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-v${version}-${rust_target}",
|
||||
"version_range": ">= 0.13",
|
||||
"platform": {
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
},
|
||||
"x86_64_linux_gnu": {}
|
||||
}
|
||||
}
|
||||
15
tools/codegen/base/typos.json
Normal file
15
tools/codegen/base/typos.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"repository": "https://github.com/crate-ci/typos",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}-cli",
|
||||
"asset_name": "${package}-v${version}-${rust_target}.tar.gz",
|
||||
"version_range": ">= 1.0.0",
|
||||
"platform": {
|
||||
"x86_64_linux_musl": {},
|
||||
"x86_64_macos": {},
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-${rust_target}.zip"
|
||||
},
|
||||
"aarch64_macos": {}
|
||||
}
|
||||
}
|
||||
@@ -755,12 +755,16 @@ struct BaseManifest {
|
||||
}
|
||||
impl BaseManifest {
|
||||
fn validate(&self) {
|
||||
if let Some(bin) = &self.bin {
|
||||
for bin in self.bin.iter().chain(self.platform.values().flat_map(|m| &m.bin)) {
|
||||
assert!(!bin.as_slice().is_empty());
|
||||
}
|
||||
for m in self.platform.values() {
|
||||
if let Some(bin) = &m.bin {
|
||||
assert!(!bin.as_slice().is_empty());
|
||||
for bin in bin.as_slice() {
|
||||
let file_name = Path::new(bin).file_name().unwrap().to_str().unwrap();
|
||||
if !self.repository.ends_with("/xbuild") {
|
||||
assert!(
|
||||
!(file_name.contains("${version") || file_name.contains("${rust")),
|
||||
"{bin}"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user