This website works better with JavaScript.
首頁
探索
說明
註冊
登入
SisMaker
/
rebar3
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
Projects
0
版本發佈
62
Wiki
Activity
瀏覽代碼
update release run and variables in templates
pull/3/head
Tristan Sloughter
10 年之前
父節點
884d298291
當前提交
5980a3c72a
共有
3 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
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
查看文件
@ -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
查看文件
@ -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
查看文件
@ -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…
取消
儲存