Skip to content

Commit a437ec1

Browse files
committed
Build COMPOSER_NO_INTERACTION
Replace the Composer -n flag with the standard parameter named COMPOSER_NO_INTERACTION that exists since composer:83ea90296 ("Add COMPOSER_NO_INTERACTION env var to allow travis & others to easily make sure every composer run is non-interactive", 2013-04-02).
1 parent ba8c179 commit a437ec1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
PHP ?= php
22
export PHP_PEAR_PHP_BIN ?= $(PHP)
33
export PHP_BINARY ?= $(PHP)
4-
COMPOSERCMD ?= $(PHP) "$(shell command -v composer)" -qn
4+
export COMPOSER_NO_INTERACTION ?= 1
5+
COMPOSERCMD ?= $(PHP) "$(shell command -v composer)" -q
56

67
all:
78
.PHONY: all clean build dist distclean

0 commit comments

Comments
 (0)