diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /third_party/rust/packed_simd/ci/all.sh | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/packed_simd/ci/all.sh')
-rwxr-xr-x | third_party/rust/packed_simd/ci/all.sh | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/third_party/rust/packed_simd/ci/all.sh b/third_party/rust/packed_simd/ci/all.sh deleted file mode 100755 index 55a1fa2efe..0000000000 --- a/third_party/rust/packed_simd/ci/all.sh +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/env bash -# -# Performs an operation on all targets - -set -ex - -: "${1?The all.sh script requires one argument.}" - -op=$1 - -cargo_clean() { - cargo clean -} - -cargo_check_fmt() { - cargo fmt --all -- --check -} - -cargo_fmt() { - cargo fmt --all -} - -cargo_clippy() { - cargo clippy --all -- -D clippy::perf -} - -CMD="-1" - -case $op in - clean*) - CMD=cargo_clean - ;; - check_fmt*) - CMD=cargo_check_fmt - ;; - fmt*) - CMD=cargo_fmt - ;; - clippy) - CMD=cargo_clippy - ;; - *) - echo "Unknown operation: \"${op}\"" - exit 1 - ;; -esac - -echo "Operation is: ${CMD}" - -# On src/ -$CMD - -# Check examples/ -for dir in examples/*/ -do - dir=${dir%*/} - ( - cd "${dir%*/}" - $CMD - ) -done - -( - cd verify/verify - $CMD -) - -( - cd micro_benchmarks - $CMD -) |