mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
parent
ee3a834165
commit
b4a260d6e3
@ -37,7 +37,7 @@ function setup_solcjs
|
|||||||
|
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
printLog "Setting up solc-js..."
|
printLog "Setting up solc-js..."
|
||||||
git clone --depth 1 -b master https://github.com/ethereum/solc-js.git solc
|
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
|
||||||
|
|
||||||
cd solc
|
cd solc
|
||||||
npm install
|
npm install
|
||||||
@ -107,7 +107,7 @@ function force_solc_truffle_modules
|
|||||||
if [ -d "$d" ]; then
|
if [ -d "$d" ]; then
|
||||||
cd $d
|
cd $d
|
||||||
rm -rf solc
|
rm -rf solc
|
||||||
git clone --depth 1 -b master 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 "$1" solc/soljson.js
|
cp "$1" solc/soljson.js
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
@ -40,7 +40,7 @@ VERSION="$2"
|
|||||||
DIR=$(mktemp -d)
|
DIR=$(mktemp -d)
|
||||||
(
|
(
|
||||||
echo "Preparing solc-js (master)..."
|
echo "Preparing solc-js (master)..."
|
||||||
git clone --depth 1 --branch master 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