本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
SisMaker
/
rebar3
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
Projects
0
版本發佈
62
Wiki
活動
瀏覽代碼
Merge pull request
#1758
from ferd/display-script-errors
Display script errors
pull/1762/head
Fred Hebert
7 年之前
committed by
GitHub
父節點
9cfe33f97e
3630a06a01
當前提交
1a07624457
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID:
4AEE18F83AFDEB23
共有
2 個檔案被更改
,包括
3 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/rebar_config.erl
+1
-1
src/rebar_prv_escriptize.erl
+ 2
- 0
src/rebar_config.erl
查看文件
@ -290,6 +290,8 @@ consult_and_eval(File, Script) ->
{
ok
,
Term
}
-
>
{
ok
,
[
Term
]
}
;
Error
-
>
?
ERROR
(
"
Error evaluating configuration script at
~p
:
~n
~p
~n
"
,
[
Script
,
Error
]
)
,
Error
end
.
+ 1
- 1
src/rebar_prv_escriptize.erl
查看文件
@ -267,7 +267,7 @@ rm_newline(String) ->
[
C
|
|
C
<
-
String
,
C
=/=
$\n
]
.
write_windows_script
(
Target
)
-
>
CmdPath
=
Target
++
"
.cmd
"
,
CmdPath
=
unicode
:
characters_to_list
(
Target
)
++
"
.cmd
"
,
CmdScript
=
"
@echo off
\r
\n
"
"
setlocal
\r
\n
"
Write
Preview
Loading…
取消
儲存