0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/Makefile

35 lines
552 B
Makefile
Raw Normal View History

2011-03-07 22:59:22 +01:00
# See LICENSE for licensing information.
DIALYZER = dialyzer
REBAR = rebar
2011-03-07 22:59:22 +01:00
all: app
app:
@$(REBAR) compile
2011-03-07 22:59:22 +01:00
clean:
@$(REBAR) clean
rm -f test/*.beam
2011-03-07 22:59:22 +01:00
rm -f erl_crash.dump
tests: clean app eunit ct
eunit:
@$(REBAR) eunit
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