mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
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.
This commit is contained in:
parent
1da8b9ca93
commit
ff5581c44a
1 changed files with 2 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
@echo off
|
||||
escript.exe rebar %*
|
||||
set rebarscript=%0
|
||||
escript.exe %rebarscript:.bat=% %*
|
||||
|
|
Loading…
Reference in a new issue