Disabling of prepublish hook is no longer needed in setup_solcjs

See https://github.com/ethereum/solc-js/pull/542
This commit is contained in:
Daniel Kirchner 2021-08-16 14:00:01 +02:00 committed by Kamil Śliwak
parent 97b4ff15f1
commit 9f2885e173

View File

@ -60,11 +60,6 @@ function setup_solcjs
cd "$path" cd "$path"
# disable "prepublish" script which downloads the latest version
# (we will replace it anyway and it is often incorrectly cached
# on travis)
npm config set script.prepublish ''
npm install npm install
cp "$soljson" soljson.js cp "$soljson" soljson.js
SOLCVERSION=$(./solcjs --version) SOLCVERSION=$(./solcjs --version)