From aed53c987678032d11e21d9ce16d185019f5a9db Mon Sep 17 00:00:00 2001 From: jwilson3 Date: Wed, 28 Dec 2011 16:38:33 -0800 Subject: [PATCH] #1386452 by jwilson3: drushrc.php is no longer sourced from Drupal root; sites/all/drush is the new location. --- examples/example.drushrc.php | 351 ++++++++++++++++++++--------------- 1 file changed, 200 insertions(+), 151 deletions(-) diff --git a/examples/example.drushrc.php b/examples/example.drushrc.php index 2561133..e5cfd31 100644 --- a/examples/example.drushrc.php +++ b/examples/example.drushrc.php @@ -1,66 +1,65 @@ TRUE); + +// CVS credentials for module dowlnoads. # $command_specific['dl'] = array('cvscredentials' => 'user:pass'); -// Specify additional directories to search for scripts +// Additional folders to search for scripts. // Separate by : (Unix-based systems) or ; (Windows). # $command_specific['script']['script-path'] = 'sites/all/scripts:profiles/myprofile/scripts'; -// Always show release notes when running pm-update or pm-updatecode +// Always show release notes when running pm-update or pm-updatecode. # $command_specific['pm-update'] = array('notes' => TRUE); # $command_specific['pm-updatecode'] = array('notes' => TRUE); // Set a predetermined username and password when using site-install. # $command_specific['site-install'] = array('account-name' => 'alice', 'account-pass' => 'secret'); -// List of drush commands or aliases that should override built-in -// shell functions and commands; otherwise, built-ins override drush -// commands. Default is help,dd,sa. -// Warning: bad things can happen if you put the wrong thing here -// (e.g. eval, grep), so be cautious. -// If a drush command overrides a built-in command (e.g. bash help), -// then you can use the `builtin` operator to run the built-in version -// (e.g. `builtin help` to show bash help instead of drush help.) -// If a drush command overrides a shell command (e.g. grep), then -// you can use the regular shell command by typing in the full path -// to the command (e.g. /bin/grep). +/** + * List of Drush commands or aliases that should override built-in shell + * functions and commands; otherwise, built-ins override Drush commands. Default + * is 'help,dd,sa'. Warning: bad things can happen if you put the wrong thing + * here (e.g. eval, grep), so be cautious. If a Drush command overrides a + * built-in command (e.g. bash help), then you can use the `builtin` operator + * to run the built-in version (e.g. `builtin help` to show bash help instead of + * Drush help.) If a Drush command overrides a shell command (e.g. grep), then + * you can use the regular shell command by typing in the full path to the + * command (e.g. /bin/grep). + */ # $command_specific['core-cli'] = array('override' => 'help,dd,sa'); -// Load a drushrc.php file from the 'drush' folder at the root -// of the current git repository. Customize as desired. -// (Script by grayside; @see: http://grayside.org/node/93) +/** + * Load a drushrc file from the 'drush' folder at the root of the current + * git repository. Example script below by grayside. Customize as desired. + * @see: http://grayside.org/node/93. + */ #exec('git rev-parse --git-dir 2> /dev/null', $output); #if (!empty($output)) { # $repo = $output[0];