mirror of
git://holbrook.no/eth-accounts-index
synced 2024-11-23 01:26:46 +01:00
13 lines
459 B
Makefile
13 lines
459 B
Makefile
SOLC = /usr/bin/solc
|
|
|
|
all:
|
|
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
|
|
$(SOLC) --abi AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.json
|
|
$(SOLC) --metadata AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.metadata.json
|
|
truncate -s -1 AccountsIndex.bin
|
|
|
|
install: all
|
|
cp -v *.json ../python/eth_accounts_index/data/
|
|
cp -v *.bin ../python/eth_accounts_index/data/
|
|
|