Skip to content

Commit

Permalink
build: attempt to fix clean-node task
Browse files Browse the repository at this point in the history
  • Loading branch information
frugan-dev committed Jun 18, 2024
1 parent e2c24d4 commit 65db5f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ endif
@$(DOCKER_COMPOSE) exec -u$(WORDPRESS_CONTAINER_USER) $(WORDPRESS_CONTAINER_NAME) sh -c 'ln -sfn /tmp/$(PLUGIN_NAME)-plugin/tests/data/wp-cfm $${WORDPRESS_BASE_DIR:-/bitnami/wordpress}/wp-content/config'

@echo "[wordpress] Initializing git repository ($(MODE))"
#FIXED: safe.directory avoids Github fatal error: detected dubious ownership in repository
@#FIXED: safe.directory avoids Github fatal error: detected dubious ownership in repository
@$(DOCKER_COMPOSE) exec -u$(WORDPRESS_CONTAINER_USER) $(WORDPRESS_CONTAINER_NAME) sh -c 'cd /tmp/$(PLUGIN_NAME)-plugin && { \
git init; \
git config --global user.email "[email protected]"; \
Expand Down Expand Up @@ -250,6 +250,7 @@ deploy-svn:

clean-node:
@echo "[node] Cleaning artifacts"
@chmod -R +w build/front/node_modules build/front/package-lock.json $(PLUGIN_NAME)/asset
@rm -rf build/front/node_modules build/front/package-lock.json $(PLUGIN_NAME)/asset

clean-wordpress:
Expand Down

0 comments on commit 65db5f5

Please sign in to comment.