diff options
Diffstat (limited to 'vendor/pretty_assertions/scripts')
-rwxr-xr-x | vendor/pretty_assertions/scripts/check | 9 | ||||
-rwxr-xr-x | vendor/pretty_assertions/scripts/install | 6 | ||||
-rwxr-xr-x | vendor/pretty_assertions/scripts/publish | 11 |
3 files changed, 26 insertions, 0 deletions
diff --git a/vendor/pretty_assertions/scripts/check b/vendor/pretty_assertions/scripts/check new file mode 100755 index 000000000..43fb3a9b3 --- /dev/null +++ b/vendor/pretty_assertions/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/scripts/install b/vendor/pretty_assertions/scripts/install new file mode 100755 index 000000000..92577640c --- /dev/null +++ b/vendor/pretty_assertions/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/scripts/publish b/vendor/pretty_assertions/scripts/publish new file mode 100755 index 000000000..e904f03eb --- /dev/null +++ b/vendor/pretty_assertions/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 |