Allow SOLIDITY_BUILD_DIR outside of REPO_ROOT in scripts that respect this variable

This commit is contained in:
Kamil Śliwak
2020-04-17 19:09:22 +02:00
parent a80b032081
commit 3e65bcfd7f
6 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
# and exporting it again. The second JSON should be identical to the first
REPO_ROOT=$(readlink -f "$(dirname "$0")"/..)
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-build}
SOLC=${REPO_ROOT}/${SOLIDITY_BUILD_DIR}/solc/solc
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}
SOLC=${SOLIDITY_BUILD_DIR}/solc/solc
SPLITSOURCES=${REPO_ROOT}/scripts/splitSources.py
SYNTAXTESTS_DIR="${REPO_ROOT}/test/libsolidity/syntaxTests"