mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
just use the php from env
This commit is contained in:
+3
-5
@@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
CMAKE=cmake.exe
|
CMAKE=cmake.exe
|
||||||
COMPOSER_PHAR=C:\ProgramData\ComposerSetup\bin\composer.phar
|
|
||||||
PHP_BINARY=$(PHP_PREFIX)\php.exe
|
|
||||||
|
|
||||||
CMAKE_CONFIGURE = $(CMAKE) -DCMAKE_INSTALL_PREFIX=$(AWSCRT_DIR)\build\install -DCMAKE_PREFIX_PATH=$(AWSCRT_DIR)\build\install -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
|
CMAKE_CONFIGURE = $(CMAKE) -DCMAKE_INSTALL_PREFIX=$(AWSCRT_DIR)\build\install -DCMAKE_PREFIX_PATH=$(AWSCRT_DIR)\build\install -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
|
||||||
CMAKE_BUILD = $(CMAKE) --build
|
CMAKE_BUILD = $(CMAKE) --build
|
||||||
@@ -32,6 +30,6 @@ $(AWSCRT_DIR)\ext\api.h : $(AWSCRT_DIR)\src\api.h
|
|||||||
# Use PHPUnit and composer to run tests
|
# Use PHPUnit and composer to run tests
|
||||||
test-awscrt: install $(AWSCRT_DIR)\src\api.h $(BUILD_DIR)\php_awscrt.dll
|
test-awscrt: install $(AWSCRT_DIR)\src\api.h $(BUILD_DIR)\php_awscrt.dll
|
||||||
curl -o composer-setup.php https://getcomposer.org/installer
|
curl -o composer-setup.php https://getcomposer.org/installer
|
||||||
$(PHP_BINARY) .\composer-setup.php
|
php .\composer-setup.php
|
||||||
$(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) update
|
php -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) update
|
||||||
$(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) run test-win
|
php -c $(AWSCRT_DIR)\php-win.ini .\composer.phar --working-dir=$(AWSCRT_DIR) run test-win
|
||||||
|
|||||||
Reference in New Issue
Block a user