diff options
author | Juhani Rankimies <juhani@juranki.com> | 2010-10-26 07:12:26 +0300 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2010-10-27 11:39:12 -0600 |
commit | ff5581c44a9b12504c14e9dc092b305d0eeddd8d (patch) | |
tree | 63617e586ea79cc54f2edfadf1310432a1d0c2c3 | |
parent | 1da8b9ca93b6d520077e90534abff871a7593d49 (diff) |
Improve rebar.bat
Add support for invoking rebar from other than current directory.
For example: ..\rebar create-node nodeid=mysample
requires rebar.bar and rebar (escript) to be in the same directory.
-rw-r--r-- | rebar.bat | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,2 +1,3 @@ @echo off -escript.exe rebar %* +set rebarscript=%0 +escript.exe %rebarscript:.bat=% %* |