fix script for preparing contracts package

This commit is contained in:
Francisco Giordano
2019-10-28 18:30:44 -03:00
parent 4757f1c1c9
commit eaee98f227
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"description": "Secure Smart Contract library for Solidity",
"files": [
"**/*.sol",
"/build/*.json",
"/build/contracts/*.json",
"!/mocks",
"!/examples"
],

View File

@ -9,4 +9,5 @@ if [[ ! -v ALREADY_COMPILED ]]; then
fi
cp README.md contracts/
cp -Tr build/contracts contracts/build
mkdir contracts/build contracts/build/contracts
cp -r build/contracts/*.json contracts/build/contracts