Skip to content

Commit

Permalink
Add --site-mail to make drush-si
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Aug 12, 2024
1 parent f7bd5d8 commit e8c974d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion make/drupal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CLEAN_EXCLUDE += $(WEBROOT)/sites/default/files
DRUPAL_DISABLE_MODULES ?= no
DRUPAL_ENABLE_MODULES ?= no
DRUPAL_PROFILE ?= minimal
DRUPAL_SITE_EMAIL ?= [email protected]
DRUPAL_SYNC_FILES ?= yes
DRUPAL_SYNC_SOURCE ?= main
DRUSH_RSYNC_MODE ?= Pakzu
Expand Down Expand Up @@ -87,7 +88,7 @@ else
endif
drush-si: ## Site install
$(call step,Do Drush site:install...\n)
$(call drush,si ${DRUSH_SI})
$(call drush,si ${DRUSH_SI} --site-mail=$(DRUPAL_SITE_EMAIL))

PHONY += drush-deploy
drush-deploy: ## Run Drush deploy
Expand Down
4 changes: 4 additions & 0 deletions tests/outputs/drush-si.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
drush-si IS_DRUPAL=yes [email protected]
---
printf "\n⭐ \033[0;33mDo Drush site:install...\n\033[0m\n"
drush si -y minimal [email protected]
6 changes: 0 additions & 6 deletions tests/outputs/fix-symfony.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@ fix-symfony IS_SYMFONY=yes CS_FIXER_INSTALLED=yes RUN_ON=docker
---
printf "\n⭐ \033[0;33mFix Symfony code style...\n\033[0m\n"
docker compose exec app sh -c "vendor/bin/php-cs-fixer fix --ansi src"






0 comments on commit e8c974d

Please sign in to comment.