Skip to content
Snippets Groups Projects

Merging develop into main

Merged jurgenhaas requested to merge develop into main
1 file
+ 9
4
Compare changes
  • Side-by-side
  • Inline
+ 9
4
#!/bin/sh
function setPermissions {
chmod -R g+w .
sudo chmod -R g+w .
}
FLAG=
@@ -9,13 +9,18 @@ if [[ "$1" == "-T" ]]; then
FLAG=-T
shift
fi
if [[ "$1" == "si" ]] || [[ "$1" == "sin" ]] || [[ "$1" == "site-install" ]]; then
FLAG="$FLAG -e L3D_DISABLE_REDIS=yes"
fi
docker compose exec $FLAG ${LAKEDROPS_DEV_DC_OPTIONS} php drush "$@"
EC=$?
if [[ "$1" == "gen" ]]; then
setPermissions
if [[ "$1" == "si" ]] || [[ "$1" == "sin" ]] || [[ "$1" == "site-install" ]]; then
if [[ -f web/modules/contrib/redis/example.services.yml ]]; then
docker compose exec $FLAG ${LAKEDROPS_DEV_DC_OPTIONS} php drush -y en redis
fi
fi
if [[ "$1" == "generate" ]]; then
if [[ "$1" == "gen" ]] || [[ "$1" == "generate" ]]; then
setPermissions
fi
Loading