blob: 328d4c4dce37c71924d549a61356282ac06747f5 (
plain)
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
|
PROJECT = p11p
REBAR = rebar3 # export PATH=$PATH:~/.cache/rebar3/bin
all: compile
compile:
@$(REBAR) compile
rel:
@$(REBAR) release
clean:
@$(REBAR) clean
clean-all:
@$(REBAR) clean -a
dialyzer:
@$(REBAR) dialyzer
check:
@$(REBAR) do eunit -v, ct -v, proper -v
tests:
@$(REBAR) ct
start: rel
./_build/default/rel/$(PROJECT)/bin/$(PROJECT) start
stop: rel
./_build/default/rel/$(PROJECT)/bin/$(PROJECT) stop
shell:
@$(REBAR) shell
.PHONY: compile rel clean dialyzer check tests shell
|