mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Convert the cookie example to a release
This commit is contained in:
parent
2f25c654b0
commit
340f0a5112
7 changed files with 34 additions and 37 deletions
|
@ -8,7 +8,8 @@
|
|||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
cowboy,
|
||||
erlydtl
|
||||
]},
|
||||
{mod, {cookie_app, []}},
|
||||
{env, []}
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
-module(cookie).
|
||||
|
||||
%% API.
|
||||
-export([start/0]).
|
||||
|
||||
%% API.
|
||||
|
||||
start() ->
|
||||
ok = application:start(crypto),
|
||||
ok = application:start(cowlib),
|
||||
ok = application:start(ranch),
|
||||
ok = application:start(cowboy),
|
||||
ok = application:start(cookie).
|
Loading…
Add table
Add a link
Reference in a new issue