Makefile (769B)
1 SOLC = /usr/bin/solc 2 3 all: 4 $(SOLC) --bin GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.bin 5 $(SOLC) --abi GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.json 6 $(SOLC) --metadata GiftableToken.sol --evm-version byzantium | awk 'NR>3' > GiftableToken.metadata.json 7 $(SOLC) --bin StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.bin 8 $(SOLC) --abi StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.json 9 $(SOLC) --metadata StaticToken.sol --evm-version byzantium | awk 'NR>3' > StaticToken.metadata.json 10 truncate -s -1 StaticToken.bin 11 truncate -s -1 GiftableToken.bin 12 13 install: all 14 cp -v *.json ../python/giftable_erc20_token/data/ 15 cp -v *.bin ../python/giftable_erc20_token/data/ 16