Improve prepack script (#1747)
* improve prepack script
* remove .npmignore
* make prepack use pkg.files
* fix linter errors
(cherry picked from commit cc19ccfdb3)
This commit is contained in:
committed by
Francisco Giordano
parent
b7b8fa947e
commit
ee7ff81728
10
scripts/compile.sh
Executable file
10
scripts/compile.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ "$SOLC_NIGHTLY" = true ]; then
|
||||
docker pull ethereum/solc:nightly
|
||||
fi
|
||||
|
||||
# Necessary to avoid an error in Truffle
|
||||
rm -rf build/contracts
|
||||
|
||||
truffle compile
|
||||
Reference in New Issue
Block a user