Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
SisMaker
/
rebar3
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Projects
0
Lançamentos
62
Wiki
Trabalho
Ver a proveniência
update release run and variables in templates
pull/3/head
Tristan Sloughter
há 10 anos
ascendente
884d298291
cometimento
5980a3c72a
3 ficheiros alterados
com
2 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-0
priv/templates/otp_lib.template
+1
-0
priv/templates/otp_rel.template
+0
-1
src/rebar_prv_release.erl
+ 1
- 0
priv/templates/otp_lib.template
Ver ficheiro
@ -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 ficheiro
@ -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 ficheiro
@ -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
}
.
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar