eth-token-index/solidity/Makefile
2023-03-21 16:58:17 +00:00

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