-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
47 lines (36 loc) · 565 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
all: eunit cover
.PHONY: compile
compile: deps
@rebar3 compile
.PHONY: deps
deps:
@rebar3 get-deps
.PHONY: edoc
edoc:
@rebar3 edoc
.PHONY: dialyzer
dialyzer: compile
@rebar3 dialyzer
.PHONY: eunit
eunit:
@rebar3 eunit -v
.PHONY: clean
clean:
@rebar3 clean
@rm -rf test-data
@rm -rf _build
@rm -f rebar.lock
.PHONY: xref
xref: compile
@rebar3 xref
.PHONY: hex
hex: clean
@rebar3 hex publish package
.PHONY: cover
cover:
@rebar3 cover -v
.PHONY: coveralls
coveralls:
@rebar3 coveralls send
hex-publish: clean
@rebar3 hex publish --repo=hexpm