Skip to content

Commit ca6f47c

Browse files
author
David Ferlay
committed
Adding no-interaction to composer install
1 parent 898adad commit ca6f47c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ endif
9090
ifeq ($(INSTALL_DEV_DEPENDENCIES), TRUE)
9191
@echo "INSTALL_DEV_DEPENDENCIES=$(INSTALL_DEV_DEPENDENCIES)"
9292
@echo "Installing composer dependencies, including dev ones"
93-
$(call php, composer install --prefer-dist -o)
93+
$(call php, composer install --no-interaction --prefer-dist -o)
9494
else
9595
@echo "INSTALL_DEV_DEPENDENCIES set to FALSE or missing from .env"
9696
@echo "Installing composer dependencies, without dev ones"
97-
$(call php, composer install --prefer-dist -o --no-dev)
97+
$(call php, composer install --no-interaction --prefer-dist -o --no-dev)
9898
endif
9999
$(call php, composer create-required-files)
100100

@@ -166,7 +166,7 @@ endif
166166
## Enable development mode and disable caching
167167
dev:
168168
@echo "Dev tasks..."
169-
$(call php, composer install --prefer-dist -o)
169+
$(call php, composer install --no-interaction --prefer-dist -o)
170170
@$(call php-0, chmod +w web/sites/default)
171171
@$(call php, cp web/sites/default/default.services.yml web/sites/default/services.yml)
172172
@$(call php, sed -i -e 's/debug: false/debug: true/g' web/sites/default/services.yml)

0 commit comments

Comments
 (0)