mirror of
git://holbrook.no/erc20-demurrage-token
synced 2024-12-22 11:57:32 +01:00
17 lines
541 B
Makefile
17 lines
541 B
Makefile
SOLC = /usr/bin/solc
|
|
|
|
all:
|
|
$(SOLC) DemurrageTokenMultiNocap.sol --abi --evm-version byzantium | awk 'NR>3' > DemurrageTokenMultiNocap.json
|
|
$(SOLC) DemurrageTokenMultiNocap.sol --bin --evm-version byzantium | awk 'NR>3' > DemurrageTokenMultiNocap.bin
|
|
truncate -s -1 DemurrageTokenMultiNocap.bin
|
|
|
|
test: all
|
|
python ../python/tests/test_basic.py
|
|
python ../python/tests/test_period.py
|
|
python ../python/tests/test_redistribution.py
|
|
|
|
install: all
|
|
cp -v DemurrageTokenMultiNocap.{json,bin} ../python/sarafu_token/data/
|
|
|
|
.PHONY: test install
|