0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/Makefile
Loïc Hoguin 108a491f55 Add documentation for the public interface.
This is probably not perfect yet but it should be better than
nothing. We'll improve things with feedback received from the
many users.
2011-07-06 17:42:20 +02:00

34 lines
552 B
Makefile

# See LICENSE for licensing information.
DIALYZER = dialyzer
REBAR = rebar
all: app
app:
@$(REBAR) compile
clean:
@$(REBAR) clean
rm -f test/*.beam
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