| 1 |
<?php |
<?php |
| 2 |
// $Id: example.drushrc.php,v 1.5 2008/04/20 21:19:14 weitzman Exp $ |
// $Id: example.drushrc.php,v 1.5.2.1 2008/11/14 22:08:56 grugnog Exp $ |
| 3 |
|
|
| 4 |
/* |
/* |
| 5 |
* Examples of valid statements for a drushrc.php file. Use this file to cut down on |
* Examples of valid statements for a drushrc.php file. Use this file to cut down on |
| 6 |
* typing of options and avoid mistakes. |
* typing of options and avoid mistakes. |
| 7 |
* |
* |
| 8 |
* Rename this file to drushrc.php and |
* Rename this file to drushrc.php and optionally copy it to one of |
| 9 |
* optionally copy it to one of 5 convenient places. See drush_load_rc(). |
* four convenient places, listed below in order of precedence: |
| 10 |
|
* |
| 11 |
|
* - Drupal site folder. |
| 12 |
|
* - Drupal installation root. |
| 13 |
|
* - User Home folder (i.e. ~/.drushrc.php). |
| 14 |
|
* - Drush installation folder. |
| 15 |
|
* |
| 16 |
|
* If a configuration file is found in any of the above locations, it |
| 17 |
|
* will be loaded and merged with other configuration files in the |
| 18 |
|
* search list. |
| 19 |
|
* |
| 20 |
|
* Alternately, copy it to any location and load it with the --config (-c) option. |
| 21 |
|
* Note that this preempts loading any other configuration files! |
| 22 |
*/ |
*/ |
| 23 |
|
|
| 24 |
// enable simulation mode |
// enable simulation mode |
| 25 |
// $options['s'] = 1; |
# $options['s'] = 1; |
| 26 |
|
|
| 27 |
// specify a particular multisite |
// specify a particular multisite |
| 28 |
// $options['l'] = 'http://example.com/subir'; |
# $options['l'] = 'http://example.com/subir'; |
| 29 |
|
|
| 30 |
// specify your Drupal core base directory (useful if you use symlinks) |
// specify your Drupal core base directory (useful if you use symlinks) |
| 31 |
// $options['r'] = '/home/USER/workspace/drupal-7'; |
# $options['r'] = '/home/USER/workspace/drupal-6'; |
| 32 |
|
|
| 33 |
|
// specify additional directories to search for *.drush.inc files |
| 34 |
|
# $options['i'] = 'sites/default:profiles/myprofile'; |
| 35 |
|
|
| 36 |
// enable verbose mode |
// enable verbose mode |
| 37 |
// $options['v'] = 1; |
# $options['v'] = 1; |
| 38 |
|
|
| 39 |
|
// Set search path for drush command files |
| 40 |
|
// Use POSIX path separator (':') |
| 41 |
|
# $options['i'] = '/path/to/command_files'; |
| 42 |
|
|
| 43 |
/* |
/* |
| 44 |
* Customize this associative array with your own tables. This is the |
* Customize this associative array with your own tables. This is the |