You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
383 B
21 lines
383 B
@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" "%roboCommand%" %args%
|
|
) else (
|
|
call "%base%vendor\bin\robo" "%roboCommand%" -- %args%
|
|
)
|
|
|