forked from esl/lhttpc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
72 lines (55 loc) · 1.04 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
SHELL := bash
.ONESHELL:
.SHELLFLAGS := -euc
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
version: upgrade clean compile check test edoc
.PHONY: version
upgrade: upgrade-rebar3_lint upgrade-rebar3_hex upgrade-rebar3_hank
@rebar3 do unlock,upgrade
.PHONY: upgrade
upgrade-rebar3_lint:
@rebar3 plugins upgrade rebar3_lint
.PHONY: upgrade-rebar3_lint
upgrade-rebar3_hex:
@rebar3 plugins upgrade rebar3_hex
.PHONY: upgrade-rebar3_hex
upgrade-rebar3_hank:
@rebar3 plugins upgrade rebar3_hank
.PHONY: upgrade-rebar3_hank
clean:
@rebar3 clean -a
.PHONY: clean
compile:
@rebar3 compile
.PHONY: compile
check: xref dialyzer elvis-rock hank
.PHONY: check
xref:
@rebar3 as test xref
.PHONY: xref
dialyzer:
@rebar3 as test dialyzer
.PHONY: dialyzer
elvis-rock:
@rebar3 lint
.PHONY: elvis-rock
hank:
@rebar3 hank
.PHONY: hank
test: eunit ct cover
.NOTPARALLEL: test
.PHONY: test
eunit:
@rebar3 eunit
.PHONY: eunit
ct:
@rebar3 ct
.PHONY: ct
cover:
@rebar3 cover
.PHONY: cover
edoc:
@rebar3 edoc
.PHONY: edoc