This repository has been archived on 2023-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
erc20-demurrage-token-archive/solidity/Makefile

17 lines
569 B
Makefile
Raw Permalink Normal View History

2021-02-02 11:26:44 +01:00
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
2021-02-03 09:00:24 +01:00
python ../python/tests/test_period.py
python ../python/tests/test_redistribution.py
2021-02-02 11:26:44 +01:00
install: all
cp -v RedistributedDemurrageToken.{json,bin} ../python/eth_address_declarator/data/
.PHONY: test install