Browse Source

fix tar provider to pass release and tar to relx as 2 commands

pull/3/head
Tristan Sloughter 10 years ago
parent
commit
c508a3feb8
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      rebar.config
  2. +2
    -2
      src/rebar_prv_tar.erl

+ 1
- 1
rebar.config View File

@ -36,7 +36,7 @@
{branch, "master"}}},
{relx, "",
{git, "https://github.com/tsloughter/relx.git",
{branch, "ec_git_vsn"}}},
{branch, "master"}}},
{getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}.
{erlydtl_opts, [{doc_root, "priv/templates"},

+ 2
- 2
src/rebar_prv_tar.erl View File

@ -34,9 +34,9 @@ init(State) ->
do(State) ->
case rebar_state:get(State, relx, []) of
[] ->
relx:main(["release tar"]);
relx:main(["release class="s">", "tar"]);
Config ->
relx:main([{config, Config}], ["release tar"])
relx:main([{config, Config}], ["release class="s">", "tar"])
end,
{ok, State}.

Loading…
Cancel
Save