erc20-demurrage-token/solidity/Makefile
2021-02-02 11:26:44 +01:00

15 lines
483 B
Makefile

SOLC = /usr/bin/solc
all:
$(SOLC) RedistributedDemurrageToken.sol --abi --evm-version byzantium | awk 'NR>3' > RedistributedDemurrageToken.json
$(SOLC) RedistributedDemurrageToken.sol --bin --evm-version byzantium | awk 'NR>3' > RedistributedDemurrageToken.bin
truncate -s -1 RedistributedDemurrageToken.bin
test: all
python ../python/tests/test_basic.py
install: all
cp -v RedistributedDemurrageToken.{json,bin} ../python/eth_address_declarator/data/
.PHONY: test install