Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
SisMaker
/
rebar3
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Projects
0
Wydania
62
Wiki
Aktywność
Przeglądaj źródła
update release run and variables in templates
pull/3/head
Tristan Sloughter
10 lat temu
rodzic
884d298291
commit
5980a3c72a
3 zmienionych plików
z
2 dodań
i
1 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
Wyświetl plik
@ -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
}
.
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz