Makefile (536B)
1 SOLC = /usr/bin/solc 2 3 all: 4 $(SOLC) --bin ERC20FaucetStorage.sol --evm-version byzantium | awk 'NR>3' > ERC20FaucetStorage.bin 5 truncate -s -1 ERC20FaucetStorage.bin 6 $(SOLC) --abi ERC20FaucetStorage.sol --evm-version byzantium | awk 'NR>3' > ERC20FaucetStorage.json 7 $(SOLC) --bin ERC20Faucet.sol --evm-version byzantium | awk 'NR>3' > ERC20Faucet.bin 8 truncate -s -1 ERC20Faucet.bin 9 $(SOLC) --abi ERC20Faucet.sol --evm-version byzantium | awk 'NR==4' > ERC20Faucet.json 10 11 install: all 12 cp -v *{json,bin} ../python/erc20_faucet/data/ 13