forked from enricozanardo/BeezX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
84 lines (57 loc) · 1.37 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
lint-python:
pylint beez/
lint-api-module:
pylint beez/api/
lint-block-module:
pylint beez/block/
lint-challenge-module:
pylint beez/challenge/
lint-consensus-module:
pylint beez/consensus/
lint-index-module:
pylint beez/index/
lint-keys-module:
pylint beez/keys/
lint-node-module:
pylint beez/node/
lint-socket-module:
pylint beez/socket/
lint-state-module:
pylint beez/state/
lint-transaction-module:
pylint beez/transaction/
lint-wallet-module:
pylint beez/wallet/
format-python:
./scripts/format-python.sh
typecheck-python:
./scripts/typecheck-python.sh
test-python:
./scripts/test-python.sh
test-wallet-module:
./scripts/test-wallet-module.sh
test-block-module:
./scripts/test-block-module.sh
test-challenge-module:
./scripts/test-challenge-module.sh
test-consensus-module:
./scripts/test-consensus-module.sh
test-socket-module:
./scripts/test-socket-module.sh
test-state-module:
./scripts/test-state-module.sh
test-node-module:
./scripts/test-node-module.sh
test-transaction-module:
./scripts/test-transaction-module.sh
test-api-module:
./scripts/test-api-module.sh
# DOCKER AUTOMATION
build-image:
docker build -t beez-node -f docker/dockerfile .
build-image-force:
docker build -t --no-cache beez-node -f docker/dockerfile .
tag-image:
docker tag beez-node beezblockchain/beez-node:$(tag)
push-image:
docker push beezblockchain/beez-node:$(tag)