diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/pretty_assertions-0.7.2/scripts | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/pretty_assertions-0.7.2/scripts')
-rwxr-xr-x | vendor/pretty_assertions-0.7.2/scripts/check | 9 | ||||
-rwxr-xr-x | vendor/pretty_assertions-0.7.2/scripts/install | 6 | ||||
-rwxr-xr-x | vendor/pretty_assertions-0.7.2/scripts/publish | 11 |
3 files changed, 26 insertions, 0 deletions
diff --git a/vendor/pretty_assertions-0.7.2/scripts/check b/vendor/pretty_assertions-0.7.2/scripts/check new file mode 100755 index 000000000..43fb3a9b3 --- /dev/null +++ b/vendor/pretty_assertions-0.7.2/scripts/check @@ -0,0 +1,9 @@ +#!/bin/bash + +set -exuo pipefail + +cargo fmt -- --check +cargo audit --deny warnings +cargo clippy --all-targets -- -D warnings +cargo test +cargo doc --no-deps diff --git a/vendor/pretty_assertions-0.7.2/scripts/install b/vendor/pretty_assertions-0.7.2/scripts/install new file mode 100755 index 000000000..92577640c --- /dev/null +++ b/vendor/pretty_assertions-0.7.2/scripts/install @@ -0,0 +1,6 @@ +#!/bin/bash + +set -exuo pipefail + +rustup component add rustfmt clippy +cargo install cargo-audit cargo-tarpaulin diff --git a/vendor/pretty_assertions-0.7.2/scripts/publish b/vendor/pretty_assertions-0.7.2/scripts/publish new file mode 100755 index 000000000..e904f03eb --- /dev/null +++ b/vendor/pretty_assertions-0.7.2/scripts/publish @@ -0,0 +1,11 @@ +#!/bin/bash + +set -euxo pipefail + +# Don't log the cargo login token while authenticating +set +x +echo "cargo login ***********************************" +cargo login "${CARGO_LOGIN_TOKEN}" +set -x + +cargo publish |