Allow contract build script to overwrite old files

This commit is contained in:
Teemu Patja 2017-08-20 11:45:43 +03:00
parent aa89ed11d0
commit 1744810c8a
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 1 additions and 1 deletions

2
build_contracts.sh Normal file → Executable file
View File

@ -5,7 +5,7 @@ WEB3J=$(which web3j)
# compile contracts # compile contracts
for f in contracts/*.sol; do for f in contracts/*.sol; do
$SOLC $f --bin --abi --optimize -o resources/contracts $SOLC $f --overwrite --bin --abi --optimize -o resources/contracts
done done
# generate java classes # generate java classes