This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
rebar3
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
62
Wiki
Activity
Browse Source
update release run and variables in templates
pull/3/head
Tristan Sloughter
10 years ago
parent
884d298291
commit
5980a3c72a
3 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
View File
@ -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
View File
@ -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
View File
@ -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
}
.
Write
Preview
Loading…
Cancel
Save