mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Update erlang.mk and remove .app.src
Everything is now directly generated from the Makefile. Also properly update dependencies.
This commit is contained in:
parent
d64aba49d7
commit
190f698990
4 changed files with 4105 additions and 283 deletions
15
Makefile
15
Makefile
|
@ -1,21 +1,28 @@
|
|||
# See LICENSE for licensing information.
|
||||
|
||||
PROJECT = cowboy
|
||||
PROJECT_DESCRIPTION = Small, fast, modular HTTP server.
|
||||
PROJECT_VERSION = 2.0.0-pre.2
|
||||
PROJECT_REGISTERED = cowboy_clock
|
||||
|
||||
# Options.
|
||||
|
||||
COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
|
||||
PLT_APPS = public_key ssl
|
||||
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
|
||||
PLT_APPS = crypto public_key ssl
|
||||
CI_OTP = OTP-18.0-rc2 # OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.3
|
||||
CI_OTP = OTP-18.0.2
|
||||
|
||||
# Dependencies.
|
||||
|
||||
OTP_DEPS = crypto
|
||||
|
||||
DEPS = cowlib ranch
|
||||
dep_cowlib = git https://github.com/ninenines/cowlib master
|
||||
dep_ranch = git https://github.com/ninenines/ranch 1.1.0
|
||||
|
||||
TEST_DEPS = ct_helper gun
|
||||
dep_ct_helper = git https://github.com/extend/ct_helper.git master
|
||||
dep_ct_helper = git https://github.com/extend/ct_helper master
|
||||
dep_gun = git https://github.com/ninenines/gun master
|
||||
|
||||
# Standard targets.
|
||||
|
||||
|
@ -35,7 +42,7 @@ ci::
|
|||
|
||||
# Use erl_make_certs from the tested release.
|
||||
|
||||
ci-setup::
|
||||
ci-setup:: clean deps test-deps
|
||||
$(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/
|
||||
|
||||
# Documentation.
|
||||
|
|
1
ebin/cowboy.app
Normal file
1
ebin/cowboy.app
Normal file
|
@ -0,0 +1 @@
|
|||
{application, cowboy, [ {description, "Small, fast, modular HTTP server."}, {vsn, "2.0.0-pre.2"}, {id, "2.0.0-pre.2-2-gd64aba4-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_stream_h,cowboy_sub_protocol,cowboy_sup,cowboy_tls,cowboy_websocket]}, {registered, [cowboy_sup,cowboy_clock]}, {applications, [kernel,stdlib,crypto,cowlib,ranch]}, {mod, {cowboy_app, []}}]}.
|
|
@ -1,30 +0,0 @@
|
|||
%% Copyright (c) 2011-2014, Loïc Hoguin <essen@ninenines.eu>
|
||||
%%
|
||||
%% Permission to use, copy, modify, and/or distribute this software for any
|
||||
%% purpose with or without fee is hereby granted, provided that the above
|
||||
%% copyright notice and this permission notice appear in all copies.
|
||||
%%
|
||||
%% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
%% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
%% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
%% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
%% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
{application, cowboy, [
|
||||
{description, "Small, fast, modular HTTP server."},
|
||||
{vsn, "2.0.0-pre.1"},
|
||||
{id, "git"},
|
||||
{modules, []},
|
||||
{registered, [cowboy_clock, cowboy_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
ranch,
|
||||
cowlib,
|
||||
crypto
|
||||
]},
|
||||
{mod, {cowboy_app, []}},
|
||||
{env, []}
|
||||
]}.
|
Loading…
Add table
Add a link
Reference in a new issue