Improve prepack script (#1747)

* improve prepack script

* remove .npmignore

* make prepack use pkg.files

* fix linter errors
This commit is contained in:
Francisco Giordano
2019-05-14 16:04:40 -03:00
committed by GitHub
parent fa004a7f5d
commit cc19ccfdb3
6 changed files with 202 additions and 111 deletions

View File

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