Skip to content

Commit

Permalink
Adding application module and change in the .app.src
Browse files Browse the repository at this point in the history
  • Loading branch information
Taure committed Nov 15, 2023
1 parent a6525b2 commit 5fdb49e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/boss_db.app.src
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{application, boss_db, [
{description, "BossDB: a sharded, caching, evented ORM"},
{mod, {boss_db_app, []}},
{vsn, "0.9.1"},
{registered, [
boss_cache, boss_cache_sup,
Expand Down
26 changes: 26 additions & 0 deletions src/boss_db_app.erl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
%%%-------------------------------------------------------------------
%% @doc nova_admin public API
%% @end
%%%-------------------------------------------------------------------

-module(boss_db_app).

-behaviour(application).

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

%%====================================================================
%% API
%%====================================================================

start(_StartType, _StartArgs) ->
boss_db_sup:start_link().

%%--------------------------------------------------------------------
stop(_State) ->
ok.

%%====================================================================
%% Internal functions
%%====================================================================

0 comments on commit 5fdb49e

Please sign in to comment.