Ver código fonte

update release run and variables in templates

pull/3/head
Tristan Sloughter 10 anos atrás
pai
commit
5980a3c72a
3 arquivos alterados com 2 adições e 1 exclusões
  1. +1
    -0
      priv/templates/otp_lib.template
  2. +1
    -0
      priv/templates/otp_rel.template
  3. +0
    -1
      src/rebar_prv_release.erl

+ 1
- 0
priv/templates/otp_lib.template Ver arquivo

@ -1,3 +1,4 @@
{variables, []}.
{template, "app.erl", "src/{{appid}}_app.erl"}.
{template, "sup.erl", "src/{{appid}}_sup.erl"}.
{template, "otp_lib.app.src", "src/{{appid}}.app.src"}.

+ 1
- 0
priv/templates/otp_rel.template Ver arquivo

@ -1,3 +1,4 @@
{variables, []}.
{template, "app.erl", "apps/{{appid}}/src/{{appid}}_app.erl"}.
{template, "sup.erl", "apps/{{appid}}/src/{{appid}}_sup.erl"}.
{template, "otp_app.app.src", "apps/{{appid}}/src/{{appid}}.app.src"}.

+ 0
- 1
src/rebar_prv_release.erl Ver arquivo

@ -31,6 +31,5 @@ init(State) ->
-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | relx:error().
do(Config) ->
RelxConfig = rebar_state:get_local(Config, relx, []),
relx:main("release"),
{ok, Config}.

Carregando…
Cancelar
Salvar