log_monitor/Makefile

34 lines
386 B
Makefile

REBAR=rebar3
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