mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
24 lines
335 B
Batchfile
24 lines
335 B
Batchfile
@echo on
|
|
setlocal
|
|
|
|
|
|
set "PHP_BINARY=php"
|
|
|
|
if not "%~1"=="" (
|
|
set "PHP_BINARY=%~1"
|
|
)
|
|
|
|
REM Check if composer_dir was found
|
|
if "%composer_dir%"=="" (
|
|
echo No composer found.
|
|
exit /b 1
|
|
)
|
|
|
|
set "script_dir=%~dp0"
|
|
set "work_dir=%script_dir%/.."
|
|
cd %work_dir%
|
|
|
|
call %PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug
|
|
|
|
endlocal
|