fix script for preparing contracts package

(cherry picked from commit eaee98f227)
release-v2.4.0
Francisco Giordano 5 years ago
parent 875f179fab
commit ab4d43ce14
  1. 2
      contracts/package.json
  2. 3
      scripts/prepare-contracts-package.sh

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

@ -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

Loading…
Cancel
Save