aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-02-01 08:45:21 -0600
committerTristan Sloughter <[email protected]>2015-02-01 09:17:45 -0600
commitdeb0444a7284b76bbbea1fcc9142e57dadf2ad03 (patch)
tree669efe6f86405563f9bf9abd48377afe8a6146b7
parent2eda48dd5f69f617a3e4b6f7de2d6d7c12d4e820 (diff)
downloadrelx-deb0444a7284b76bbbea1fcc9142e57dadf2ad03.tar.gz
relx-deb0444a7284b76bbbea1fcc9142e57dadf2ad03.tar.bz2
relx-deb0444a7284b76bbbea1fcc9142e57dadf2ad03.zip
cleanup: remove unused provider attributes to not complicate code
-rw-r--r--src/rlx_prv_app_discover.erl7
-rw-r--r--src/rlx_prv_archive.erl7
-rw-r--r--src/rlx_prv_assembler.erl7
-rw-r--r--src/rlx_prv_overlay.erl7
-rw-r--r--src/rlx_prv_rel_discover.erl7
-rw-r--r--src/rlx_prv_release.erl7
-rw-r--r--src/rlx_prv_relup.erl7
7 files changed, 7 insertions, 42 deletions
diff --git a/src/rlx_prv_app_discover.erl b/src/rlx_prv_app_discover.erl
index 607ddd2..eb40f38 100644
--- a/src/rlx_prv_app_discover.erl
+++ b/src/rlx_prv_app_discover.erl
@@ -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
diff --git a/src/rlx_prv_archive.erl b/src/rlx_prv_archive.erl
index 5b4e8c1..62cc37c 100644
--- a/src/rlx_prv_archive.erl
+++ b/src/rlx_prv_archive.erl
@@ -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}.
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index 9799204..60cef76 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -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
diff --git a/src/rlx_prv_overlay.erl b/src/rlx_prv_overlay.erl
index f14963e..ab0f74e 100644
--- a/src/rlx_prv_overlay.erl
+++ b/src/rlx_prv_overlay.erl
@@ -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
diff --git a/src/rlx_prv_rel_discover.erl b/src/rlx_prv_rel_discover.erl
index 17d3934..4224e75 100644
--- a/src/rlx_prv_rel_discover.erl
+++ b/src/rlx_prv_rel_discover.erl
@@ -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().
diff --git a/src/rlx_prv_release.erl b/src/rlx_prv_release.erl
index a6d9fef..bd58434 100644
--- a/src/rlx_prv_release.erl
+++ b/src/rlx_prv_release.erl
@@ -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
diff --git a/src/rlx_prv_relup.erl b/src/rlx_prv_relup.erl
index 1566b05..6bf5d56 100644
--- a/src/rlx_prv_relup.erl
+++ b/src/rlx_prv_relup.erl
@@ -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().