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

42 lines
747 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: deps
@$(REBAR) compile
2011-03-07 22:59:22 +01:00
deps:
@$(REBAR) get-deps
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
inttests: clean app eunit intct
eunit:
@$(REBAR) eunit skip_deps=true
ct:
@$(REBAR) ct skip_deps=true suites=http,proper,ws
intct:
@$(REBAR) ct skip_deps=true suites=http,proper,ws,autobahn
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 --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
docs:
2011-10-05 16:06:50 +02:00
@$(REBAR) doc skip_deps=true