diff --git a/src/leveled_app.erl b/src/leveled_app.erl deleted file mode 100644 index 3f40412..0000000 --- a/src/leveled_app.erl +++ /dev/null @@ -1,19 +0,0 @@ --module(leveled_app). - --behaviour(application). - -%% Application callbacks --export([start/2, stop/1]). - -%% =================================================================== -%% Application callbacks -%% =================================================================== - -%% Currently this is just to keep dialyzer happy -%% Run the store diretcly using leveled_bookie:book_start/4 or bookie_start/1 - -start(_StartType, _StartArgs) -> - leveled_sup:start_link(). - -stop(_State) -> - ok. diff --git a/src/leveled_sup.erl b/src/leveled_sup.erl deleted file mode 100644 index 58d4b71..0000000 --- a/src/leveled_sup.erl +++ /dev/null @@ -1,30 +0,0 @@ --module(leveled_sup). - --behaviour(supervisor). - -%% API --export([start_link/0]). - -%% Supervisor callbacks --export([init/1]). - -%% Helper macro for declaring children of supervisor --define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}). - -%% =================================================================== -%% API functions -%% =================================================================== - -%% Currently this is just to keep dialyzer happy -%% Run the store directly using leveled_bookie:book_start/4 or bookie_start/1 - -start_link() -> - supervisor:start_link({local, leveled_bookie}, ?MODULE, []). - -%% =================================================================== -%% Supervisor callbacks -%% =================================================================== - -init([]) -> - {ok, { {one_for_one, 5, 10}, []} }. -