1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Arsse/robo.bat
J. King 711f87aad8 Housekeeping
- Update Docopt
- Switch toin-house Picofeed branch for now
- Update composer-bin
- Update php-cs-fixer

Daux has been left as-is for now even though we're using an old version
2023-03-22 22:57:58 -04:00

21 lines
394 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 "%1"=="clean" (
call "%base%vendor-bin\robo\vendor\bin\robo" "%roboCommand%" %args%
) else (
call "%base%vendor-bin\robo\vendor\bin\robo" "%roboCommand%" -- %args%
)