mirror of
git://holbrook.no/eth-contract-registry
synced 2024-12-23 04:37:32 +01:00
11 lines
285 B
Makefile
11 lines
285 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/contract_registry/data/
|
||
|
|