Commit ab4d43ce by Francisco Giordano

fix script for preparing contracts package

(cherry picked from commit eaee98f2)
parent 875f179f
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"files": [ "files": [
"**/*.sol", "**/*.sol",
"/build/*.json", "/build/contracts/*.json",
"!/mocks", "!/mocks",
"!/examples" "!/examples"
], ],
......
...@@ -9,4 +9,5 @@ if [[ ! -v ALREADY_COMPILED ]]; then ...@@ -9,4 +9,5 @@ if [[ ! -v ALREADY_COMPILED ]]; then
fi fi
cp README.md contracts/ cp README.md contracts/
cp -Tr build/contracts contracts/build mkdir contracts/build contracts/build/contracts
cp -r build/contracts/*.json contracts/build/contracts
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment