ge-capped-token/solidity/Makefile
2023-05-30 17:42:53 +01:00

13 lines
439 B
Makefile

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/