1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 05:44:53 +00:00
Arsse/robo.bat

20 lines
352 B
Batchfile
Raw Normal View History

2017-12-08 20:15:20 +00:00
@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%
2017-12-20 03:19:34 +00:00
if not "%1"=="clean" (
call "%base%vendor\bin\robo" "%roboCommand%" %args%
)
2017-12-08 20:15:20 +00:00
call "%base%vendor\bin\robo" "%roboCommand%" -- %args%