1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00
Arsse/robo.bat
2017-12-19 22:19:34 -05:00

20 lines
No EOL
352 B
Batchfile

@echo off
setlocal
set base=%~dp0
set roboCommand=%1
rem get all arguments except the first
shift
set "args="
:parse
if "%~1" neq "" (
set args=%args% %1
shift
goto :parse
)
if defined args set args=%args:~1%
if not "%1"=="clean" (
call "%base%vendor\bin\robo" "%roboCommand%" %args%
)
call "%base%vendor\bin\robo" "%roboCommand%" -- %args%