PageRenderTime 8ms CodeModel.GetById 6ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/deps/webmachine/priv/skel/src/skel_app.erl

https://code.google.com/p/zotonic/
Erlang | 22 lines | 9 code | 6 blank | 7 comment | 0 complexity | 55db3f7bcb992700894e74d9675e546d 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.