forked from galdor/erl-cbor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
68 lines (52 loc) · 1.13 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
SHELL := bash
.ONESHELL:
.SHELLFLAGS := -euc
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
version: upgrade clean compile check test
.PHONY: version
upgrade: upgrade-rebar3_lint upgrade-rebar3_hex upgrade-rebar3_hank upgrade-rebar3_ex_doc
@rebar3 do unlock --all, upgrade --all
.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
upgrade-rebar3_ex_doc:
@rebar3 plugins upgrade rebar3_ex_doc
.PHONY: upgrade-rebar3_ex_doc
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
test: eunit
.NOTPARALLEL: test
.PHONY: test
eunit:
@rebar3 eunit
.PHONY: eunit
hank:
@rebar3 hank
.PHONY: hank
ex_doc-dry:
@rebar3 hex publish docs --dry-run
.PHONY: ex_doc-dry