mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add shellcheck source directive in places where it can't find sourced files on its own
This commit is contained in:
parent
2c00939ad8
commit
7929175db6
@ -41,6 +41,7 @@ REPODIR="$(realpath "$(dirname "$0")/..")"
|
||||
IFS=" " read -r -a BOOST_TEST_ARGS <<< "$BOOST_TEST_ARGS"
|
||||
IFS=" " read -r -a SOLTEST_FLAGS <<< "$SOLTEST_FLAGS"
|
||||
|
||||
# shellcheck source=scripts/common.sh
|
||||
source "${REPODIR}/scripts/common.sh"
|
||||
# Test result output directory (CircleCI is reading test results from here)
|
||||
mkdir -p test_results
|
||||
|
@ -29,7 +29,9 @@ set -e
|
||||
|
||||
REPO_ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
||||
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}
|
||||
# shellcheck source=scripts/common.sh
|
||||
source "${REPO_ROOT}/scripts/common.sh"
|
||||
# shellcheck source=scripts/common_cmdline.sh
|
||||
source "${REPO_ROOT}/scripts/common_cmdline.sh"
|
||||
|
||||
developmentVersion=$("$REPO_ROOT/scripts/get_version.sh")
|
||||
|
@ -32,6 +32,7 @@ REPO_ROOT="$(dirname "$0")/.."
|
||||
SOLIDITY_BUILD_DIR="${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}"
|
||||
IFS=" " read -r -a SMT_FLAGS <<< "$SMT_FLAGS"
|
||||
|
||||
# shellcheck source=scripts/common.sh
|
||||
source "${REPO_ROOT}/scripts/common.sh"
|
||||
|
||||
WORKDIR=$(mktemp -d)
|
||||
|
@ -32,7 +32,9 @@ set -e
|
||||
|
||||
REPO_ROOT=$(cd "$(dirname "$0")/.." && pwd)
|
||||
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}
|
||||
# shellcheck source=scripts/common.sh
|
||||
source "${REPO_ROOT}/scripts/common.sh"
|
||||
# shellcheck source=scripts/common_cmdline.sh
|
||||
source "${REPO_ROOT}/scripts/common_cmdline.sh"
|
||||
|
||||
(( $# <= 1 )) || { printError "Too many arguments"; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user