Skip to content

Commit

Permalink
Merge pull request #311 from tsloughter/cleanup
Browse files Browse the repository at this point in the history
cleanup: remove unused provider attributes to not complicate code
  • Loading branch information
jwilberding committed Feb 1, 2015
2 parents d29eec5 + deb0444 commit a2e8eaa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 42 deletions.
7 changes: 1 addition & 6 deletions src/rlx_prv_app_discover.erl
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "build"},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

%% @doc recursively dig down into the library directories specified in the state
Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_archive.erl
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "tar"},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),

{ok, State1}.

Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_assembler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "release"},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

%% @doc recursively dig down into the library directories specified in the state
Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_overlay.erl
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "overlay"},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

%% @doc recursively dig down into the library directories specified in the state
Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_rel_discover.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "build"},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

-spec do(rlx_state:t()) -> {ok, rlx_state:t()} | relx:error().
Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, ""},
{short_desc, ""},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

%% @doc recursively dig down into the library directories specified in the state
Expand Down
7 changes: 1 addition & 6 deletions src/rlx_prv_relup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@
init(State) ->
State1 = rlx_state:add_provider(State, providers:create([{name, ?PROVIDER},
{module, ?MODULE},
{bare, false},
{deps, ?DEPS},
{example, "relup"},
{short_desc, "Builds release upgrade for latest and last release."},
{desc, ""},
{opts, []}])),
{deps, ?DEPS}])),
{ok, State1}.

-spec do(rlx_state:t()) -> {ok, rlx_state:t()} | relx:error().
Expand Down

0 comments on commit a2e8eaa

Please sign in to comment.