aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2015-02-01 09:06:38 -0800
committerJordan Wilberding <[email protected]>2015-02-01 09:06:38 -0800
commita2e8eaa4fb6307e0d71ba932de6eb9378ddae937 (patch)
tree22ec4b903623ad9feaebf589428f502d0b09ff68 /src
parentd29eec5157b4f62d353a188b1fea9133bbae2056 (diff)
parentdeb0444a7284b76bbbea1fcc9142e57dadf2ad03 (diff)
downloadrelx-a2e8eaa4fb6307e0d71ba932de6eb9378ddae937.tar.gz
relx-a2e8eaa4fb6307e0d71ba932de6eb9378ddae937.tar.bz2
relx-a2e8eaa4fb6307e0d71ba932de6eb9378ddae937.zip
Merge pull request #311 from tsloughter/cleanupv1.2.0
cleanup: remove unused provider attributes to not complicate code
Diffstat (limited to 'src')
-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().