Skip to content

Commit

Permalink
Merge pull request #30 from Decipher/master
Browse files Browse the repository at this point in the history
#29: Add `drush site-set` after site installation.
  • Loading branch information
LionsAd committed Jul 30, 2015
2 parents c7e2832 + cc901ac commit 0d25ea9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ Example:
````

Contributions are welcome.

### Drush

For your convenience the 'drush site-set' command is set for the Drupal installation, so any Drush commands triggered in your own scripts will be run against the test Drupal instance.
1 change: 1 addition & 0 deletions environments/drupal-7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions environments/drupal-8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 0d25ea9

Please sign in to comment.