Source

rebar_templates / webm_app.erl

%% @author {{name}} {{email}}
%% @copyright YYYY {{name}}.

%% @doc Callbacks for the {{appid}} application.

-module({{appid}}_app).
-behaviour(application).

-export([start/2,stop/1]).


%% @spec start(_Type, _StartArgs) -> ServerRet
%% @doc application start callback for {{appid}}.
start(_Type, _StartArgs) ->
    {{appid}}_deps:ensure(),
    {{appid}}_sup:start_link().

%% @spec stop(_State) -> ServerRet
%% @doc application stop callback for {{appid}}.
stop(_State) ->
        ok.