Replace SYMFONY_NO__DB to the opt-in version ..SKIP_DB

This commit is contained in:
Cameron Hurd 2019-08-28 21:14:40 -04:00
parent c2dca138c0
commit 1debb4cf7e
3 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ if [ "$1" = "/run.sh" ]; then
composer create-project symfony/skeleton $SYMFONY_PROJECT_NAME
if [ -z "$SYMFONY_NO_DB" ] ; then
if [ ! -z "$SYMFONY_SKIP_DB" ] ; then
log "Installing symfony/orm-pack"
composer require symfony/orm-pack -d $PROJECT_DIRECTORY
fi

View File

@ -19,7 +19,7 @@ if [ "$1" = "/run.sh" ]; then
composer create-project symfony/skeleton $SYMFONY_PROJECT_NAME
if [ -z "$SYMFONY_NO_DB" ] ; then
if [ ! -z "$SYMFONY_SKIP_DB" ] ; then
log "Installing symfony/orm-pack"
composer require symfony/orm-pack -d $PROJECT_DIRECTORY
fi

View File

@ -5,7 +5,8 @@
> present, `composer create-project symfony/skeleton $SYMFONY_PROJECT_NAME`
> is run to create a Symfony 4.x project.
>
> In the absence of the `$SYMFONY_NO_DB,` envvar/flag, `symfony/orm-pack` is installed.
> Include a non null value in the `$SYMFONY_SKIP_DB,` envvar/flag, to skip over
> installing `symfony/orm-pack`
## TL;DR;