eth-contract-registry/solidity/Makefile

11 lines
289 B
Makefile

SOLC = /usr/bin/solc
all:
$(SOLC) --bin Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.bin
truncate -s -1 Registry.bin
$(SOLC) --abi Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.json
install: all
cp -v *{json,bin} ../python/eth_contract_registry/data/