Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (28 sloc) 588 Bytes
ERL ?= erl
ERLC = erlc
EBIN_DIRS := $(wildcard deps/*/ebin)
.PHONY: rel deps
all: deps compile
compile: deps
@./rebar compile
deps:
@./rebar get-deps
@./rebar check-deps
clean:
@./rebar clean
realclean: clean
@./rebar delete-deps
tests:
@./rebar skip_deps=true eunit
rel: deps
@./rebar compile generate
doc:
rebar skip_deps=true doc
console:
@erl -pa deps/*/ebin deps/*/include ebin include -boot start_sasl
analyze: checkplt
@./rebar skip_deps=true dialyze
buildplt:
@./rebar skip_deps=true build-plt
checkplt: buildplt
@./rebar skip_deps=true check-plt