소스 검색

Added to .gitignore, use full path to rebar3 script

pull/2293/head
Regan Heath 5 년 전
부모
커밋
77918174fb
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -0
      .gitignore
  2. +0
    -1
      rebar3.ps1
  3. +1
    -1
      src/rebar_prv_escriptize.erl

+ 1
- 0
.gitignore 파일 보기

@ -2,6 +2,7 @@ _checkouts
.rebar3
rebar3
rebar3.cmd
rebar3.ps1
_build
.depsolver_plt
*.beam

+ 0
- 1
rebar3.ps1 파일 보기

@ -1 +0,0 @@
& escript.exe (Get-Item $PSCommandPath).Basename @args

+ 1
- 1
src/rebar_prv_escriptize.erl 파일 보기

@ -277,7 +277,7 @@ write_windows_scripts(Target, Wrappers) ->
write_windows_script(Target, "powershell") ->
CmdPath = unicode:characters_to_list(Target) ++ ".ps1",
CmdScript="& escript.exe (Get-Item $PSCommandPath).Basename @args\r\n",
CmdScript="& escript.exe \"$PSScriptRoot\\$((Get-Item $PSCommandPath).Basename)\" @args\r\n",
ok = file:write_file(CmdPath, CmdScript);
write_windows_script(Target, _) ->
CmdPath = unicode:characters_to_list(Target) ++ ".cmd",

불러오는 중...
취소
저장