Skip to content
Snippets Groups Projects
Commit 0d0b47cb authored by jurgenhaas's avatar jurgenhaas
Browse files

composer/plugin/drupal-environment#17 Run composer create-project without dev...

composer/plugin/drupal-environment#17 Run composer create-project without dev dependencies followed by a composer update
parent 5145276f
No related branches found
No related tags found
1 merge request!50Merging develop into main
......@@ -57,10 +57,11 @@ function create {
fi
truncateCurrentDirectory
if [[ -n ${REPOSITORY} ]]; then
composer create-project "${PROJECT}" ./ --no-interaction --repository "${REPOSITORY}"
composer create-project "${PROJECT}" ./ --no-interaction --no-dev --repository "${REPOSITORY}"
else
composer create-project "${PROJECT}" ./ --no-interaction
composer create-project "${PROJECT}" ./ --no-interaction --no-dev
fi
composer update
l3dComposer
permissions
restoreEnvFile
......@@ -113,7 +114,8 @@ function clone {
truncateCurrentDirectory
git clone "${REPOSITORY}" .
l3dComposer
composer create-project
composer create-project --no-dev
composer update
permissions
restoreEnvFile
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment