-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
59 lines (45 loc) · 1017 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.PHONY: build
build: compile
.PHONY: compile
compile:
npx truffle compile --all
.PHONY: clean
clean:
$(RM) -rf coverage*
$(RM) -rf build
.PHONY: migrate
migrate:
npx truffle migrate --reset
.PHONY: test
test: compile migrate
npx truffle test
.PHONY: coverage
coverage:
npx truffle run coverage --network poa
.PHONY: slither
slither:
slither .
.PHONY: smartcheck
smartcheck:
npx smartcheck -p contracts
.PHONY: poa-migrate
poa-migrate:
npx truffle migrate --reset --network poa
.PHONY: poa-test
poa-test: compile poa-migrate
npx truffle test --network poa
.PHONY: ci-test
ci-test:
sh ./scripts/run_tests.sh
.PHONY: rinkeby-migrate
rinkeby-migrate:
npx truffle migrate --network rinkeby
.PHONY: goerli-migrate
goerli-migrate:
npx truffle migrate --network goerli
.PHONY: polygon-pos-mumbai-migrate
polygon-pos-mumbai-migrate:
npx truffle migrate --network polygon_pos_mumbai
.PHONY: polygon-pos-mainnet-migrate
polygon-pos-mainnet-migrate:
npx truffle migrate --network polygon_pos_mainnet