log_monitor/Makefile

34 lines
386 B
Makefile
Raw Permalink Normal View History

2017-07-03 11:09:25 +02:00
REBAR=rebar3
2017-07-05 20:42:04 +02:00
all: compile code test release
2017-07-03 11:09:25 +02:00
2017-07-05 20:42:04 +02:00
.PHONY: compile
2017-07-03 11:09:25 +02:00
compile:
${REBAR} compile
2017-07-05 20:42:04 +02:00
.PHONY: code
2017-07-03 17:33:30 +02:00
code:
${REBAR} dialyzer
2017-07-05 20:42:04 +02:00
.PHONY: test
2017-07-03 17:33:30 +02:00
test:
${REBAR} eunit
2017-07-05 20:42:04 +02:00
.PHONY: release
release:
${REBAR} release
.PHONY: prod
prod: compile code test
${REBAR} as prod tar
.PHONY: doc
2017-07-03 11:09:25 +02:00
doc:
${REBAR} edoc
2017-07-05 20:42:04 +02:00
.PHONY: clean
2017-07-03 11:09:25 +02:00
clean:
${REBAR} clean
2017-07-05 20:42:04 +02:00
rm -rf _build
rm -rf apps/log_monitor/doc