mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-02 19:33:14 +03:00
update Makefile
This commit is contained in:
parent
4a468344f9
commit
e036afd7aa
4
Makefile
4
Makefile
@ -18,7 +18,7 @@ delete_archive:
|
|||||||
rm -f $(ARCHIVE_NAME)
|
rm -f $(ARCHIVE_NAME)
|
||||||
rm -f /tmp/retailcrm.zip
|
rm -f /tmp/retailcrm.zip
|
||||||
|
|
||||||
composer:
|
composer: clone_prestashop
|
||||||
@cd $(PRESTASHOP_DIR) && git checkout $(BRANCH)
|
@cd $(PRESTASHOP_DIR) && git checkout $(BRANCH)
|
||||||
ifeq ($(COMPOSER_IN_TESTS),1)
|
ifeq ($(COMPOSER_IN_TESTS),1)
|
||||||
@cd $(PRESTASHOP_DIR)/tests && composer install
|
@cd $(PRESTASHOP_DIR)/tests && composer install
|
||||||
@ -56,6 +56,6 @@ test:
|
|||||||
ifeq ($(COMPOSER_IN_TESTS),1)
|
ifeq ($(COMPOSER_IN_TESTS),1)
|
||||||
phpunit
|
phpunit
|
||||||
else
|
else
|
||||||
# cd $(PRESTASHOP_DIR) && composer run-script create-test-db --timeout=0
|
cd $(PRESTASHOP_DIR) && composer run-script create-test-db --timeout=0
|
||||||
cd $(PRESTASHOP_DIR) && php vendor/bin/phpunit -c $(ROOT_DIR)/phpunit.xml.dist
|
cd $(PRESTASHOP_DIR) && php vendor/bin/phpunit -c $(ROOT_DIR)/phpunit.xml.dist
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user