mirror of
git://holbrook.no/eth-token-index
synced 2024-12-04 13:46:49 +01:00
14 lines
534 B
Makefile
14 lines
534 B
Makefile
SOLC = /usr/bin/solc
|
|
|
|
all:
|
|
$(SOLC) TokenUniqueSymbolIndex.sol --abi --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.json
|
|
$(SOLC) TokenUniqueSymbolIndex.sol --bin --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.bin
|
|
$(SOLC) TokenUniqueSymbolIndex.sol --metadata --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.metadata.json
|
|
truncate -s -1 TokenUniqueSymbolIndex.bin
|
|
|
|
install: all
|
|
cp -v *.json ../python/eth_token_index/data/
|
|
cp -v *.bin ../python/eth_token_index/data/
|
|
|
|
.PHONY: install
|