You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@for i in $(DIRS); do if [ -d "$$i" ]; then echo "Removing $$i..."; docker run --rm -v $(shell pwd):/mnt $(IMAGE_PHP) sh -c "rm -rf /mnt/$$i"; fi; done
142
-
if [ -d $(DB_DATA_DIR) ]; then echo "Removing mysql data $(DB_DATA_DIR) ..."; docker run --rm --user 0:0 -v $(shell pwd):/mnt/2rm $(IMAGE_PHP) sh -c "rm -rf /mnt/2rm/$(DB_DATA_DIR)"; fi
147
+
ifdefMYSQL_DIR
148
+
@echo "Removing mysql data from $(MYSQL_DIR) ..."
149
+
docker run --rm --user 0:0 -v $(shell dirname $(MYSQL_DIR)):/mnt $(IMAGE_PHP) sh -c "rm -fr /mnt/`basename $(MYSQL_DIR)`"
150
+
endif
143
151
ifeq ($(CLEAR_FRONT_PACKAGES), yes)
144
152
make clear-front
145
153
endif
@@ -165,5 +173,4 @@ dev:
165
173
## Run drush command in PHP container. To pass arguments use double dash: "make drush dl devel -- -y"
0 commit comments