PageRenderTime 37ms CodeModel.GetById 34ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/priv/skel/src/skel_app.erl

http://github.com/basho/mochiweb
Erlang | 30 lines | 12 code | 8 blank | 10 comment | 0 complexity | 7a94bc3b6e3201ac68ac8f9d239722a2 MD5 | raw file
 1%% @author author <author@example.com>
 2%% @copyright YYYY author.
 3
 4%% @doc Callbacks for the skel application.
 5
 6-module(skel_app).
 7-author('author <author@example.com>').
 8
 9-behaviour(application).
10-export([start/2, stop/1]).
11
12
13%% @spec start(_Type, _StartArgs) -> ServerRet
14%% @doc application start callback for skel.
15start(_Type, _StartArgs) ->
16    skel_deps:ensure(),
17    skel_sup:start_link().
18
19%% @spec stop(_State) -> ServerRet
20%% @doc application stop callback for skel.
21stop(_State) ->
22    ok.
23
24
25%%
26%% Tests
27%%
28-include_lib("eunit/include/eunit.hrl").
29-ifdef(TEST).
30-endif.