This commit is contained in:
David Walsh 2016-03-25 11:24:24 -05:00
Родитель afccf74f2b
Коммит b6f49d43e3
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -4,10 +4,10 @@ WP_CLI = tools/wp-cli.phar
PHPUNIT = tools/phpunit.phar
reinstall: $(WP_CLI)
$(WP_CLI) plugin uninstall --deactivate wp-app-manifest --path=$(WORDPRESS_PATH)
rm -f wp-app-manifest.zip
zip wp-app-manifest.zip -r wp-app-manifest/
$(WP_CLI) plugin install --activate wp-app-manifest.zip --path=$(WORDPRESS_PATH)
$(WP_CLI) plugin uninstall --deactivate wp-add-to-homescreen --path=$(WORDPRESS_PATH)
rm -f wp-add-to-homescreen.zip
zip wp-add-to-homescreen.zip -r wp-add-to-homescreen/
$(WP_CLI) plugin install --activate wp-add-to-homescreen.zip --path=$(WORDPRESS_PATH)
test: $(PHPUNIT)
$(PHPUNIT)