blob: b94be4b2ba75e7f3c2b39f464f429362218b905e [file] [log] [blame]
PREFIX:=../
DEST:=$(PREFIX)$(PROJECT)
REBAR=./rebar
.PHONY: all edoc test clean build_plt dialyzer app
all:
@$(REBAR) get-deps compile
edoc:
@$(REBAR) doc
test:
@rm -rf .eunit
@mkdir -p .eunit
@$(REBAR) skip_deps=true eunit
clean:
@$(REBAR) clean
build_plt:
@$(REBAR) build-plt
dialyzer:
@$(REBAR) dialyze
app:
@$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(PROJECT)