mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
storebytecode.sh: Look for scripts at relative locations, not in REPO_ROOT
This commit is contained in:
parent
582271ed18
commit
9e117bd93b
@ -41,7 +41,7 @@ TMPDIR=$(mktemp -d)
|
|||||||
(
|
(
|
||||||
cd "$TMPDIR"
|
cd "$TMPDIR"
|
||||||
|
|
||||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
"${SCRIPT_DIR}/../isolate_tests.py" "${REPO_ROOT}/test/"
|
||||||
|
|
||||||
if [[ "$SOLC_EMSCRIPTEN" = "On" ]]
|
if [[ "$SOLC_EMSCRIPTEN" = "On" ]]
|
||||||
then
|
then
|
||||||
@ -54,7 +54,7 @@ TMPDIR=$(mktemp -d)
|
|||||||
npm run build
|
npm run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
cp "$REPO_ROOT/scripts/bytecodecompare/prepare_report.js" .
|
cp "${SCRIPT_DIR}/prepare_report.js" .
|
||||||
npm install ./solc-js/dist
|
npm install ./solc-js/dist
|
||||||
|
|
||||||
echo "Running the compiler..."
|
echo "Running the compiler..."
|
||||||
@ -62,7 +62,7 @@ TMPDIR=$(mktemp -d)
|
|||||||
./prepare_report.js *.sol > report.txt
|
./prepare_report.js *.sol > report.txt
|
||||||
echo "Finished running the compiler."
|
echo "Finished running the compiler."
|
||||||
else
|
else
|
||||||
"$REPO_ROOT/scripts/bytecodecompare/prepare_report.py" "$BUILD_DIR/solc/solc"
|
"${SCRIPT_DIR}/prepare_report.py" "$BUILD_DIR/solc/solc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp report.txt "$REPO_ROOT"
|
cp report.txt "$REPO_ROOT"
|
||||||
|
Loading…
Reference in New Issue
Block a user