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