-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
47 lines (35 loc) · 799 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
REBAR3=./rebar3
##
## define the default release path in order to
## manage the core system. The release must be generated
## before try to start using `make rel`.
## TODO: Check if after creation release could be
## moved to another dir for easy access.
##
RELEASE_PATH=_build/default/rel/kaa/bin
##
## define the main script that controls
## the management of the release.
##
KAA=kaa
.PHONY: jun compile all doc test
all: compile
compile:
$(REBAR3) compile
clean:
$(REBAR3) clean
rel:
$(REBAR3) release
run:
@sh $(RELEASE_PATH)/$(KAA) start
live:
@sh $(RELEASE_PATH)/$(KAA) console
stop:
@sh $(RELEASE_PATH)/$(KAA) stop
test:
$(REBAR3) ct --cover
$(REBAR3) cover
$(REBAR3) covertool generate
@mv _build/test/covertool/kaa.covertool.xml cobertura.xml
cover:
$(REBAR3) cover