mirror of
git://holbrook.no/eth-contract-registry
synced 2024-12-12 16:36:08 +01:00
13 lines
431 B
Makefile
13 lines
431 B
Makefile
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
|
|
$(SOLC) Registry.sol --metadata --evm-version byzantium | awk 'NR==4' > Registry.metadata.json
|
|
truncate -s -1 Registry.bin
|
|
|
|
install: all
|
|
cp -v *.json ../python/eth_contract_registry/data/
|
|
cp -v *.bin ../python/eth_contract_registry/data/
|
|
|