mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Only replace solc-js copies in directories present during externalTests
This commit is contained in:
parent
a52de117ea
commit
028bc7d20a
@ -59,10 +59,13 @@ function test_truffle
|
|||||||
for d in node_modules node_modules/truffle/node_modules
|
for d in node_modules node_modules/truffle/node_modules
|
||||||
do
|
do
|
||||||
(
|
(
|
||||||
cd $d
|
if [ -d "$d" ]
|
||||||
rm -rf solc
|
then
|
||||||
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
|
cd $d
|
||||||
cp "$SOLJSON" solc/
|
rm -rf solc
|
||||||
|
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
|
||||||
|
cp "$SOLJSON" solc/
|
||||||
|
fi
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
if [ "$name" == "Zeppelin" -o "$name" == "Gnosis" ]; then
|
if [ "$name" == "Zeppelin" -o "$name" == "Gnosis" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user