Updated Makefile
This commit is contained in:
parent
680a5d3aed
commit
c13e493b72
23
Makefile
23
Makefile
|
@ -1,24 +1,33 @@
|
|||
REBAR=rebar3
|
||||
|
||||
all: release
|
||||
|
||||
prod:
|
||||
${REBAR} as prod tar
|
||||
|
||||
release:
|
||||
${REBAR} release
|
||||
all: compile code test release
|
||||
|
||||
.PHONY: compile
|
||||
compile:
|
||||
${REBAR} compile
|
||||
|
||||
.PHONY: code
|
||||
code:
|
||||
${REBAR} dialyzer
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
${REBAR} eunit
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
${REBAR} release
|
||||
|
||||
.PHONY: prod
|
||||
prod: compile code test
|
||||
${REBAR} as prod tar
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
||||
${REBAR} edoc
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
${REBAR} clean
|
||||
rm -rf _build
|
||||
rm -rf apps/log_monitor/doc
|
||||
|
|
Loading…
Reference in New Issue
Block a user