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

22 lines
394 B
Batchfile
Raw Permalink 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 14:27:15 +00:00
if "%1"=="clean" (
call "%base%vendor-bin\robo\vendor\bin\robo" "%roboCommand%" %args%
2017-12-20 14:27:15 +00:00
) else (
call "%base%vendor-bin\robo\vendor\bin\robo" "%roboCommand%" -- %args%
2017-12-20 03:19:34 +00:00
)