PageRenderTime 121ms CodeModel.GetById 18ms RepoModel.GetById 0ms 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
Possible License(s): MIT
  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.
  17. %%
  18. %% Tests
  19. %%
  20. -include_lib("eunit/include/eunit.hrl").
  21. -ifdef(TEST).
  22. -endif.