/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. %% @doc Callbacks for the skel application.
  4. -module(skel_app).
  5. -author('author <author@example.com>').
  6. -behaviour(application).
  7. -export([start/2,stop/1]).
  8. %% @spec start(_Type, _StartArgs) -> ServerRet
  9. %% @doc application start callback for skel.
  10. start(_Type, _StartArgs) ->
  11. skel_deps:ensure(),
  12. skel_sup:start_link().
  13. %% @spec stop(_State) -> ServerRet
  14. %% @doc application stop callback for skel.
  15. stop(_State) ->
  16. ok.