-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (28 loc) · 896 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Solidity
compile:
cd solidity && npx truffle compile
migrate:
cd solidity && npx truffle migrate --reset
migrate-both: migrate-left migrate-right
migrate-left:
cd solidity && npx truffle migrate --reset --f 6 --to 6 --network left
migrate-right:
cd solidity && npx truffle migrate --reset --f 6 --to 6 --network right
test-contracts:
cd solidity && npx truffle test
# Module testing
test-interledger:
PYTHONPATH=$$PWD/src pytest tests/test_interledger.py -s
test-ethereum-ledger:
PYTHONPATH=$$PWD/src pytest tests/test_ethereum_ledger.py -s
test-integration:
PYTHONPATH=$$PWD/src pytest tests/test_integration.py -s
test-db-manager:
PYTHONPATH=$$PWD/src pytest tests/test_db_manager.py -s
test-state-initiator-responder:
PYTHONPATH=$$PWD/src pytest tests/test_state_initiator_responder.py -s
# Documentation
html:
cd doc && make html
latexpdf:
cd doc && make latexpdf