From 1f255481114c1e07c195327ed811890025f76364 Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Fri, 10 Nov 2017 12:22:58 +0200 Subject: [PATCH] Only run web3j for required contracts --- build_contracts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_contracts.sh b/build_contracts.sh index 1c5b503..7b00d8c 100755 --- a/build_contracts.sh +++ b/build_contracts.sh @@ -3,8 +3,10 @@ SOLC=$(which solc) WEB3J=$(which web3j) +rm -f resources/contracts/*.{abi,bin} + # compile contracts -for f in contracts/*.sol; do +for f in contracts/{TokenReg,MultiSigTokenWallet*}.sol; do $SOLC $f --overwrite --bin --abi --optimize -o resources/contracts done