You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
270 B
13 lines
270 B
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# cd to the root of the repo
|
||
|
cd "$(git rev-parse --show-toplevel)"
|
||
|
|
||
|
# avoids re-compilation during publishing of both packages
|
||
|
if [[ ! -v ALREADY_COMPILED ]]; then
|
||
|
npm run prepare
|
||
|
fi
|
||
|
|
||
|
cp README.md contracts/
|
||
|
cp -Tr build/contracts contracts/build
|