mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-10-05 15:56:54 +03:00
more set -o errexit (#10468)
* more set -o errexit -o pipefail * no pipefail, too fancy for dash at least...
This commit is contained in:
parent
144c4d1478
commit
161a838b6a
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ ! "$1" ]; then
|
||||
echo "This script requires either amd64 of arm64 as an argument"
|
||||
exit 1
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ ! "$1" ]; then
|
||||
echo "This script requires either amd64 of arm64 as an argument"
|
||||
exit 1
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
set -o errexit -o nounset
|
||||
|
||||
pip install setuptools_scm
|
||||
# The environment variable CHIA_INSTALLER_VERSION needs to be defined.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
set -o errexit -o nounset
|
||||
|
||||
pip install setuptools_scm
|
||||
# The environment variable CHIA_INSTALLER_VERSION needs to be defined.
|
||||
|
@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Cleans up files/directories that may be left over from previous runs for a clean slate before starting a new build
|
||||
|
||||
set -o errexit
|
||||
|
||||
PWD=$(pwd)
|
||||
|
||||
rm -rf ../venv || true
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
# This hack is a quick way to recompile everything in this directory
|
||||
|
||||
set -o errexit
|
||||
|
||||
#BASE_DIR=`pwd | dirname`
|
||||
|
||||
FILES=$(ls ./*.clvm)
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
set -o errexit
|
||||
|
||||
export NODE_OPTIONS="--max-old-space-size=3000"
|
||||
|
||||
SCRIPT_DIR=$(cd -- "$(dirname -- "$0")"; pwd)
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
if [ -z "$VIRTUAL_ENV" ]; then
|
||||
echo "This requires the chia python virtual environment."
|
||||
echo "Execute '. ./activate' before running."
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
set -o errexit
|
||||
|
||||
USAGE_TEXT="\
|
||||
Usage: $0 [-d]
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
python3 -m venv venv
|
||||
# shellcheck disable=SC1091
|
||||
. ./activate
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
set -o errexit
|
||||
|
||||
export NODE_OPTIONS="--max-old-space-size=3000"
|
||||
|
||||
SCRIPT_DIR=$(cd -- "$(dirname -- "$0")"; pwd)
|
||||
|
Loading…
Reference in New Issue
Block a user