eth-token-index/solidity/Makefile

14 lines
534 B
Makefile
Raw Normal View History

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
2023-03-21 17:58:17 +01:00
$(SOLC) TokenUniqueSymbolIndex.sol --metadata --evm-version byzantium | awk 'NR>3' > TokenUniqueSymbolIndex.metadata.json
truncate -s -1 TokenUniqueSymbolIndex.bin
install: all
2023-03-21 17:58:17 +01:00
cp -v *.json ../python/eth_token_index/data/
cp -v *.bin ../python/eth_token_index/data/
.PHONY: install