mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5833 from ethereum/use050external
Use v0.5.0 tag of solc-js repository for external tests.
This commit is contained in:
commit
fd3bdcb747
@ -55,13 +55,13 @@ function test_truffle
|
|||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
echo "Current commit hash: `git rev-parse HEAD`"
|
echo "Current commit hash: `git rev-parse HEAD`"
|
||||||
npm install
|
npm install
|
||||||
# Replace solc package by master
|
# Replace solc package by v0.5.0
|
||||||
for d in node_modules node_modules/truffle/node_modules
|
for d in node_modules node_modules/truffle/node_modules
|
||||||
do
|
do
|
||||||
(
|
(
|
||||||
cd $d
|
cd $d
|
||||||
rm -rf solc
|
rm -rf solc
|
||||||
git clone --depth 1 https://github.com/ethereum/solc-js.git solc
|
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
|
||||||
cp "$SOLJSON" solc/
|
cp "$SOLJSON" solc/
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
@ -39,8 +39,8 @@ VERSION="$2"
|
|||||||
|
|
||||||
DIR=$(mktemp -d)
|
DIR=$(mktemp -d)
|
||||||
(
|
(
|
||||||
echo "Preparing solc-js..."
|
echo "Preparing solc-js (0.5.0)..."
|
||||||
git clone --depth 1 https://github.com/ethereum/solc-js "$DIR"
|
git clone --depth 1 --branch v0.5.0 https://github.com/ethereum/solc-js "$DIR"
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
# disable "prepublish" script which downloads the latest version
|
# disable "prepublish" script which downloads the latest version
|
||||||
# (we will replace it anyway and it is often incorrectly cached
|
# (we will replace it anyway and it is often incorrectly cached
|
||||||
|
Loading…
Reference in New Issue
Block a user