-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
54 lines (40 loc) · 893 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
48
49
50
51
52
REBAR = $(CURDIR)/rebar3
all: $(REBAR)
$(REBAR) compile
$(REBAR):
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
.PHONY: ct
ct: $(REBAR)
$(REBAR) as test ct --name '[email protected]' --readable true -v -c
.PHONY: ct-suite
ct-suite: $(REBAR)
$(REBAR) as test ct --name '[email protected]' --readable true -v --suite $(SUITE)
.PHONY: cover
cover: ct
$(REBAR) as test cover
.PHONY: fmt
fmt: $(REBAR)
$(REBAR) fmt
.PHONY: fmt-check
fmt-check: $(REBAR)
$(REBAR) fmt --check
.PHONY: xref
xref: $(REBAR)
$(REBAR) xref
.PHONY: dialyzer
dialyzer: $(REBAR)
@$(REBAR) dialyzer
.PHONY: update-proto
update-proto:
$(CURDIR)/scripts/update-proto.sh master
.PHONY: coveralls
coveralls: $(REBAR)
$(REBAR) as test coveralls send
.PHONY: clean
clean:
@rm -rf _build
@rm -rf rebar3
@rm -rf rebar.lock
@rm -rf *.crashdump
@rm -rf *_crash.dump
@rm -rf hstreamdb_erl_*_plt