From 5c6cedf9926c3106f558113524f91a8539eef337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 15 Nov 2016 12:52:07 +0200 Subject: Add ssl to the list of dependencies --- Makefile | 5 +++++ ebin/ranch.app | 9 +++++++++ src/ranch.app.src | 27 --------------------------- test/ranch_ct_hook.erl | 2 +- 4 files changed, 15 insertions(+), 28 deletions(-) create mode 100644 ebin/ranch.app delete mode 100644 src/ranch.app.src diff --git a/Makefile b/Makefile index e51bc96..dff32c2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ # See LICENSE for licensing information. PROJECT = ranch +PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols. +PROJECT_VERSION = 1.3.0 +PROJECT_REGISTERED = ranch_server # Options. @@ -18,6 +21,8 @@ CI_ERLLVM ?= $(CI_HIPE) # Dependencies. +LOCAL_DEPS = ssl + TEST_DEPS = ct_helper dep_ct_helper = git https://github.com/ninenines/ct_helper master diff --git a/ebin/ranch.app b/ebin/ranch.app new file mode 100644 index 0000000..15e74a5 --- /dev/null +++ b/ebin/ranch.app @@ -0,0 +1,9 @@ +{application, ranch, [ + {description, "Socket acceptor pool for TCP protocols."}, + {vsn, "1.3.0"}, + {modules, ['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_listener_sup','ranch_protocol','ranch_server','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport']}, + {registered, [ranch_sup,ranch_server]}, + {applications, [kernel,stdlib,ssl]}, + {mod, {ranch_app, []}}, + {env, []} +]}. \ No newline at end of file diff --git a/src/ranch.app.src b/src/ranch.app.src deleted file mode 100644 index af43f1c..0000000 --- a/src/ranch.app.src +++ /dev/null @@ -1,27 +0,0 @@ -%% Copyright (c) 2011-2015, Loïc Hoguin -%% -%% 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, ranch, [ - {description, "Socket acceptor pool for TCP protocols."}, - {vsn, "1.2.1"}, - {id, "git"}, - {modules, []}, - {registered, [ranch_sup, ranch_server]}, - {applications, [ - kernel, - stdlib - ]}, - {mod, {ranch_app, []}}, - {env, []} -]}. diff --git a/test/ranch_ct_hook.erl b/test/ranch_ct_hook.erl index 051e5b2..c26850e 100644 --- a/test/ranch_ct_hook.erl +++ b/test/ranch_ct_hook.erl @@ -17,7 +17,7 @@ -export([init/2]). init(_, _) -> - ct_helper:start([ranch, ssl]), + ct_helper:start([ranch]), ct_helper:make_certs_in_ets(), error_logger:add_report_handler(ct_helper_error_h), {ok, undefined}. -- cgit v1.2.3