Просмотр исходного кода

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.
pull/3/head
Juhani Rankimies 14 лет назад
committed by Dave Smith
Родитель
Сommit
ff5581c44a
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      rebar.bat

+ 2
- 1
rebar.bat Просмотреть файл

@ -1,2 +1,3 @@
@echo off
escript.exe rebar %*
set rebarscript=%0
escript.exe %rebarscript:.bat=% %*

Загрузка…
Отмена
Сохранить