mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 01:36:12 +01:00
[TASK] Allow additional composer options for -s composerInstall
(#1380)
This change modifies the `Build/Script/runTests.sh` command dispatcher to allow passing composer options to the `composer install` subcommand, for example Build/Scripts/runTests.sh -s composerInstall \ -- --prefer-source Note that this is already possible using the generic `-s composer` dispatcher but would resolve some user confusion. This aligns our implementation of runTests.sh with TYPO3 core, see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84870 Resolves: #1346
This commit is contained in:
parent
93d8c3c781
commit
3dca33ebec
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ case ${TEST_SUITE} in
|
|||
SUITE_EXIT_CODE=$?
|
||||
;;
|
||||
composerInstall)
|
||||
COMMAND="composer install"
|
||||
COMMAND="composer install $@"
|
||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-install-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
|
||||
SUITE_EXIT_CODE=$?
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue