forked from paxosglobal/usdp-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (36 loc) · 754 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
.PHONY:all
all: fmt test-contracts compile flatten generate-bin test-contracts-coverage
.PHONY:clean
clean:
@rm -r out/ || true
##################
# Code
##################
.PHONY:fmt
fmt:
@npm run solium
.PHONY:ganache
ganache:
@npm run ganache
.PHONY:compile
compile:
@npm run compile
.PHONY:generate-bin
generate-bin: compile
@npm run truffle-abi
@npm run truffle-bin
.PHONY:migrate
migrate:
@npm run migrate
.PHONY:flatten
flatten:
@npm run flatten-impl
@npm run flatten-proxy
# compile is needed as a dependency here to ensure the zos-lib based tests work
.PHONY:test-contracts
test-contracts: compile
@npm test
# TODO: get tests to pass in coverage env
.PHONY:test-contracts-coverage
test-contracts-coverage:
@npm run coverage