Change prepack npm script to prepare (take 2) (#1755)

* update truffle to include bugfix

* change prepack script to prepare

* add npx in compile script

* fix for older node

* rename script file to prepare
This commit is contained in:
Francisco Giordano
2019-05-22 18:35:40 -03:00
committed by GitHub
parent 2ccc12b328
commit 036dd9bd6e
4 changed files with 11 additions and 12 deletions

View File

@ -4,7 +4,4 @@ if [ "$SOLC_NIGHTLY" = true ]; then
docker pull ethereum/solc:nightly
fi
# Necessary to avoid an error in Truffle
rm -rf build/contracts
truffle compile
npx truffle compile