Browse Source

Add ssl to the list of dependencies

Loïc Hoguin 8 years ago
parent
commit
5c6cedf992
4 changed files with 15 additions and 28 deletions
  1. 5 0
      Makefile
  2. 9 0
      ebin/ranch.app
  3. 0 27
      src/ranch.app.src
  4. 1 1
      test/ranch_ct_hook.erl

+ 5 - 0
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
 

+ 9 - 0
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, []}
+]}.

+ 0 - 27
src/ranch.app.src

@@ -1,27 +0,0 @@
-%% Copyright (c) 2011-2015, 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, 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, []}
-]}.

+ 1 - 1
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}.