forked from klarna/avlizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (37 loc) · 634 Bytes
/
Makefile
File metadata and controls
49 lines (37 loc) · 634 Bytes
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
PROJECT = avlizer
all: compile
t: eunit xref dialyzer
rebar ?= $(shell which rebar3)
rebar_cmd = $(rebar) $(profile:%=as %)
.PHONY: compile
compile:
@$(rebar_cmd) compile
.PHONY: deps
deps:
@$(rebar_cmd) get-deps
.PHONY: xref
xref:
@$(rebar_cmd) xref
.PHONY: clean
clean:
@$(rebar_cmd) clean
.PHONY: distclean
distclean:
@$(rebar_cmd) clean
@rm -rf _build
.PHONY: eunit
eunit:
@$(rebar_cmd) eunit -v
.PHONY: edoc
edoc: profile=edown
edoc:
@$(rebar_cmd) edoc
.PHONY: cover
cover:
@$(rebar_cmd) cover -v
.PHONY: dialyzer
dialyzer:
@$(rebar_cmd) dialyzer
.PHONY: hex-publish
hex-publish:
@$(rebar_cmd) hex publish