erc20-demurrage-token/solidity/Makefile

24 lines
824 B
Makefile
Raw Normal View History

2021-02-02 11:26:44 +01:00
SOLC = /usr/bin/solc
all: single_nocap
single_nocap:
$(SOLC) DemurrageTokenSingleNocap.sol --abi --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.json
$(SOLC) DemurrageTokenSingleNocap.sol --bin --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.bin
2023-03-07 11:23:39 +01:00
$(SOLC) DemurrageTokenSingleNocap.sol --metadata --evm-version byzantium | awk 'NR==4' > DemurrageTokenSingleNocap.metadata.json
truncate -s -1 DemurrageTokenSingleNocap.bin
single: single_nocap
2021-02-02 11:26:44 +01:00
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
python ../python/tests/test_pure.py
2021-02-02 11:26:44 +01:00
install: all
cp -v DemurrageToken*.json ../python/erc20_demurrage_token/data/
cp -v DemurrageToken*.bin ../python/erc20_demurrage_token/data/
2021-02-02 11:26:44 +01:00
.PHONY: test install