blob: 8ea1eb4458a6bad666c8981777710ddaf2bf17ae (
plain) (
tree)
|
|
# See LICENSE for licensing information.
DIALYZER = dialyzer
REBAR = rebar
all: app
app: deps
@$(REBAR) compile
deps:
@$(REBAR) get-deps
clean:
@$(REBAR) clean
rm -f test/*.beam
rm -f erl_crash.dump
tests: clean app eunit ct
eunit:
@$(REBAR) eunit skip_deps=true
ct:
@$(REBAR) ct
build-plt:
@$(DIALYZER) --build_plt --output_plt .cowboy_dialyzer.plt \
--apps kernel stdlib sasl inets crypto public_key ssl
dialyze:
@$(DIALYZER) --src src --plt .cowboy_dialyzer.plt \
-Wbehaviours -Werror_handling \
-Wrace_conditions -Wunmatched_returns # -Wunderspecs
docs:
@$(REBAR) doc skip_deps=true
|