Use set to set shell options (#387)

Co-authored-by: igor <dev@igor.sh>
This commit is contained in:
igor 2022-08-11 13:47:06 +02:00 committed by GitHub
parent d8a9f94ab0
commit 2bb06463c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 28 additions and 9 deletions

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts
rm -f artifacts/*.wasm rm -f artifacts/*.wasm

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts
rm -f artifacts/*.wasm rm -f artifacts/*.wasm

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts
rm -f artifacts/*.wasm rm -f artifacts/*.wasm

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts
rm -f artifacts/*.wasm rm -f artifacts/*.wasm

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
cargo update --aggressive cargo update --aggressive
mkdir -p artifacts mkdir -p artifacts

View File

@ -1,4 +1,6 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
mkdir -p artifacts mkdir -p artifacts
rm -f artifacts/*.wasm rm -f artifacts/*.wasm

View File

@ -1,4 +1,7 @@
#!/usr/bin/env bash -o errexit -o nounset -o pipefail #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
function is_installed { function is_installed {
if ! command -v "$1" >/dev/null 2>&1; then if ! command -v "$1" >/dev/null 2>&1; then