mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 10:07:12 +00:00
get the right directory
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
@echo on
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
REM Run command to get composer_dir
|
REM Run command to get composer_dir
|
||||||
@@ -11,6 +11,10 @@ if "%composer_dir%"=="" (
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
) else (
|
) else (
|
||||||
cd ..
|
cd ..
|
||||||
|
set "script_dir=%~dp0"
|
||||||
|
set "work_dir=%script_dir%/.."
|
||||||
|
cd %work_dir%
|
||||||
|
|
||||||
php -c php-win.ini %composer_dir% update
|
php -c php-win.ini %composer_dir% update
|
||||||
php -c php-win.ini vendor/bin/phpunit tests --debug
|
php -c php-win.ini vendor/bin/phpunit tests --debug
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user