eth-contract-registry/solidity/Makefile

13 lines
431 B
Makefile
Raw Permalink Normal View History

SOLC = /usr/bin/solc
all:
$(SOLC) --bin Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.bin
$(SOLC) --abi Registry.sol --evm-version byzantium | awk 'NR>3' > Registry.json
2023-03-21 17:32:37 +01:00
$(SOLC) Registry.sol --metadata --evm-version byzantium | awk 'NR==4' > Registry.metadata.json
truncate -s -1 Registry.bin
install: all
2023-03-21 17:32:37 +01:00
cp -v *.json ../python/eth_contract_registry/data/
cp -v *.bin ../python/eth_contract_registry/data/