29 lines
334 B
Bash
29 lines
334 B
Bash
|
#!/bin/bash -e
|
||
|
|
||
|
# expecting node v12
|
||
|
cd deployer
|
||
|
yarn
|
||
|
yarn compile
|
||
|
cd ..
|
||
|
|
||
|
cd torn-token
|
||
|
yarn link
|
||
|
yarn
|
||
|
yarn compile
|
||
|
cd ..
|
||
|
|
||
|
cd governance
|
||
|
yarn link torn-token
|
||
|
yarn
|
||
|
yarn compile
|
||
|
cd ..
|
||
|
|
||
|
cd tornado-anonymity-mining
|
||
|
yarn link torn-token
|
||
|
yarn
|
||
|
if [[ ! -f "build/circuits/treeUpdateVerifier.sol" ]]; then
|
||
|
yarn circuit
|
||
|
fi
|
||
|
yarn compile
|
||
|
cd ..
|