diff options
author | Mike Lazar <mike.lazar@asolutions.com> | 2012-01-10 11:15:40 -0600 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-04-03 14:18:39 +0200 |
commit | cbfabd6073e1ff9d818ba9ebf5bab201bdb48ec2 (patch) | |
tree | 0e06b32b7fc9d3d8eb61f1639cc3ce5270f532f7 | |
parent | 79a580200db6781fc0462532f8c46d159b716761 (diff) |
Remove generation of ps1 script (no longer needed)
-rwxr-xr-x | bootstrap | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -132,18 +132,9 @@ vcs_info([{Id, Dir, Cmd} | Rest]) -> end. write_windows_scripts() -> - PowershellScript= - "$basedir = Split-Path -Parent $MyInvocation.MyCommand.Path\r\n" - "$rebar = Join-Path $basedir \"rebar\"\r\n" - "escript.exe $rebar $args\r\n", CmdScript= "@echo off\r\n" "setlocal\r\n" "set rebarscript=%~f0\r\n" "escript.exe \"%rebarscript:.cmd=%\" %*\r\n", - ok = file:write_file("rebar.cmd", CmdScript), - UTF16BE = {utf16, big}, - ok = file:write_file("rebar.ps1", - [unicode:encoding_to_bom(UTF16BE), - unicode:characters_to_binary(PowershellScript, - utf8, UTF16BE)]). + ok = file:write_file("rebar.cmd", CmdScript). |