Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bin/sdk/compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ function Compose::exec() {

function Compose::verboseMode() {
local output=''
if [ -n "${SPRYKER_QUIET_MODE}" ]; then
return
fi
if [ "${SPRYKER_FILE_MODE}" == 'mount' ]; then
output+=" DEVELOPMENT MODE "
fi
Expand Down
9 changes: 9 additions & 0 deletions generator/src/templates/deploy.bash.twig
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@ while getopts ":xvt" opt; do
done
shift $((OPTIND - 1))

for arg in "$@"; do
case "$arg" in
-q|--quiet|--quiet-meta)
SPRYKER_QUIET_MODE=1
;;
esac
done

# Exporting for docker-compose
export DEPLOYMENT_PATH
export SPRYKER_XDEBUG_HOST_IP
Expand All @@ -228,6 +236,7 @@ export SPRYKER_DOCKER_TAG
export SPRYKER_TESTING_ENABLE
export SPRYKER_XDEBUG_MODE_ENABLE
export SPRYKER_XDEBUG_ENABLE
export SPRYKER_QUIET_MODE
export SPRYKER_LOG_DIRECTORY
export SPRYKER_BUILD_HASH
export SPRYKER_BUILD_DATE
Expand Down