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

Update Erlang.mk

This commit is contained in:
Loïc Hoguin 2015-11-16 23:08:24 +01:00
parent c37852fa2b
commit 837cf8b9ce
5 changed files with 574 additions and 4028 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
.cowboy.plt .cowboy.plt
.erlang.mk .erlang.mk
_rel _rel
cowboy.d
deps deps
doc/man3 doc/man3
doc/man7 doc/man7

View file

@ -14,7 +14,7 @@ CI_OTP = OTP-18.0.3 OTP-18.1
# Dependencies. # Dependencies.
OTP_DEPS = crypto LOCAL_DEPS = crypto
DEPS = cowlib ranch DEPS = cowlib ranch
dep_cowlib = git https://github.com/ninenines/cowlib master dep_cowlib = git https://github.com/ninenines/cowlib master
@ -28,9 +28,15 @@ dep_gun = git https://github.com/ninenines/gun master
include erlang.mk include erlang.mk
# Compile options.
ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record
TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}'
# Generate rebar.config on build.
app:: rebar.config
# Also dialyze the tests. # Also dialyze the tests.
# DIALYZER_OPTS += --src -r test # DIALYZER_OPTS += --src -r test

View file

@ -1 +1,8 @@
{application, cowboy, [ {description, "Small, fast, modular HTTP server."}, {vsn, "2.0.0-pre.2"}, {id, "2.0.0-pre.2-13-g20456b8-dirty"}, {modules, [cowboy,cowboy_app,cowboy_bstr,cowboy_clock,cowboy_constraints,cowboy_handler,cowboy_http2,cowboy_loop,cowboy_middleware,cowboy_protocol,cowboy_req,cowboy_rest,cowboy_router,cowboy_spdy,cowboy_static,cowboy_stream,cowboy_sub_protocol,cowboy_sup,cowboy_tls,cowboy_websocket]}, {registered, [cowboy_sup,cowboy_clock]}, {applications, [kernel,stdlib,crypto,cowlib,ranch]}, {mod, {cowboy_app, []}}]}. {application, cowboy, [
{description, "Small, fast, modular HTTP server."},
{vsn, "2.0.0-pre.2"},
{modules, ['cowboy','cowboy_app','cowboy_bstr','cowboy_clock','cowboy_constraints','cowboy_handler','cowboy_http2','cowboy_loop','cowboy_middleware','cowboy_protocol','cowboy_req','cowboy_rest','cowboy_router','cowboy_spdy','cowboy_static','cowboy_stream','cowboy_sub_protocol','cowboy_sup','cowboy_tls','cowboy_websocket']},
{registered, [cowboy_sup,cowboy_clock]},
{applications, [kernel,stdlib,crypto,cowlib,ranch]},
{mod, {cowboy_app, []}}
]}.

4578
erlang.mk vendored

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,2 @@
{deps, [ {deps, [{cowlib,".*",{git,"https://github.com/ninenines/cowlib","master"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.1.0"}}]}.
{cowlib, ".*", {git, "https://github.com/ninenines/cowlib.git", "1.3.0"}}, {erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_export_all,warn_missing_spec,warn_untyped_record]}.
{ranch, ".*", {git, "https://github.com/ninenines/ranch.git", "1.0.0"}}
]}.