-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
69 lines (50 loc) · 1.09 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
.PHONY: test coverage ops
cleanup:
rm -rf ./build
compile: cleanup
npm run compile
node scripts/logContractSizes.js
-tput bel
lint:
npm run lint:sol
npm run lint:js
test:
-npm test
-tput bel
flatten:
node scripts/extracter.js
node scripts/flattenDeployed.js
benchmark:
node benchmarks/main.js
-tput bel
ops-home:
NETWORK=sokol node ops/opsHome
-tput bel
ops-foreign:
NETWORK=kovan node ops/opsForeign
-tput bel
deploy-yalland:
RESULT_FILE=yalland_netconfig ./node_modules/.bin/truffle migrate -f 14 --to 999 --network yalland
-tput bel
deploy-kovan:
./node_modules/.bin/truffle migrate -f 2001 --to 2999 --network kovan --reset
-tput bel
deploy-sokol:
./node_modules/.bin/truffle migrate -f 1001 --to 1999 --network sokol --reset
-tput bel
deploy-ganache:
./node_modules/.bin/truffle migrate -f 1001 --to 1999 --network ganache --reset
-tput bel
deploy:
DEPLOYMENT_KEY= npm run migrate
-tput bel
coverage:
-npm run coverage
-tput bel
ganache:
bash ./scripts/runGanache.sh
check-size:
node scripts/checkContractSize.js
fork:
yarn run ganache-fork
ctest: compile test