Update reinstall step
This commit is contained in:
Родитель
afccf74f2b
Коммит
b6f49d43e3
8
Makefile
8
Makefile
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче