From 83c9ac72317254f2332dc9119614e7ba620644cd Mon Sep 17 00:00:00 2001 From: Stuart Clark Date: Thu, 30 Jul 2015 21:58:57 +1000 Subject: [PATCH] #29: Drush site-set --- environments/drupal-7.sh | 1 + environments/drupal-8.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/environments/drupal-7.sh b/environments/drupal-7.sh index 48dfb91..6f948d2 100644 --- a/environments/drupal-7.sh +++ b/environments/drupal-7.sh @@ -6,6 +6,7 @@ function drupal_ti_install_drupal() { drush --yes dl drupal-7 --drupal-project-rename=drupal cd drupal php -d sendmail_path=$(which true) ~/.composer/vendor/bin/drush.php --yes site-install testing --db-url="$DRUPAL_TI_DB_URL" + drush use $(pwd)#default } function drupal_ti_clear_caches() { diff --git a/environments/drupal-8.sh b/environments/drupal-8.sh index 47861ee..55825ab 100644 --- a/environments/drupal-8.sh +++ b/environments/drupal-8.sh @@ -6,6 +6,7 @@ function drupal_ti_install_drupal() { git clone --depth 1 --branch 8.0.x http://git.drupal.org/project/drupal.git cd drupal php -d sendmail_path=$(which true) ~/.composer/vendor/bin/drush.php --yes -v site-install minimal --db-url="$DRUPAL_TI_DB_URL" + drush use $(pwd)#default } function drupal_ti_clear_caches() {