Skip to content

Commit eaee98f

Browse files
committed
fix script for preparing contracts package
1 parent 4757f1c commit eaee98f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Secure Smart Contract library for Solidity",
55
"files": [
66
"**/*.sol",
7-
"/build/*.json",
7+
"/build/contracts/*.json",
88
"!/mocks",
99
"!/examples"
1010
],

scripts/prepare-contracts-package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ if [[ ! -v ALREADY_COMPILED ]]; then
99
fi
1010

1111
cp README.md contracts/
12-
cp -Tr build/contracts contracts/build
12+
mkdir contracts/build contracts/build/contracts
13+
cp -r build/contracts/*.json contracts/build/contracts

0 commit comments

Comments
 (0)