Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#29: Add drush site-set after site installation. #30

Merged
merged 2 commits into from
Jul 30, 2015
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
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