mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 10:07:12 +00:00
use the exist composer.phar
This commit is contained in:
+2
-6
@@ -31,9 +31,5 @@ $(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
|
$(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini c:\tools\php\composer.phar --working-dir=$(AWSCRT_DIR) update
|
||||||
php .\composer-setup.php
|
$(PHP_BINARY) -c $(AWSCRT_DIR)\php-win.ini c:\tools\php\composer.phar --working-dir=$(AWSCRT_DIR) run test-win
|
||||||
php --version
|
|
||||||
$(PHP_BINARY) --version
|
|
||||||
$(PHP_BINARY) -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
|
|
||||||
Reference in New Issue
Block a user