ge-capped-token/solidity/Makefile

13 lines
439 B
Makefile
Raw Permalink Normal View History

2023-05-30 18:42:53 +02:00
SOLC = /usr/bin/solc
all:
$(SOLC) --bin CappedToken.sol --evm-version byzantium | awk 'NR>3' > CappedToken.bin
$(SOLC) --abi CappedToken.sol --evm-version byzantium | awk 'NR>3' > CappedToken.json
$(SOLC) --metadata CappedToken.sol --evm-version byzantium | awk 'NR>3' > CappedToken.metadata.json
truncate -s -1 CappedToken.bin
install: all
cp -v *.json ../python/ge_capped_token/data/
cp -v *.bin ../python/ge_capped_token/data/