1
0
mirror of synced 2024-11-25 06:26:07 +03:00
magento-module/Makefile

16 lines
446 B
Makefile
Raw Normal View History

2018-05-15 15:54:55 +03:00
FILE = $(TRAVIS_BUILD_DIR)/VERSION
VERSION = `cat $(FILE)`
ARCHIVE_NAME = '/tmp/retailcrm-retailcrm-'$(VERSION)'.zip'
MAGE_ROOT = $(TRAVIS_BUILD_DIR)/../magento2
2018-05-15 15:54:55 +03:00
2020-05-18 16:34:25 +03:00
.PHONY: build_archive delete_archive
2018-05-15 15:54:55 +03:00
build_archive:
cd src; zip -r $(ARCHIVE_NAME) ./*
delete_archive:
rm -f $(ARCHIVE_NAME)
ci:
php $(MAGE_ROOT)/vendor/phpunit/phpunit/phpunit -c $(MAGE_ROOT)/dev/tests/unit/phpunit.xml.dist $(MAGE_ROOT)/app/code/Retailcrm/Retailcrm/Test/Unit