Skip to content
Snippets Groups Projects

Adding a command to run the gauntlet of commands we often run against a site,...

Open Kevin Paxman requested to merge feature/kpaxman-drush_gauntlet into 1.1.x
1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
@@ -291,4 +291,19 @@ class UwDrushCommands extends DrushCommands {
}
}
/**
* Drush command that runs the "UW gauntlet" to prepare a site.
*
* Currently runs cr/updb/fra/uwperm/cr.
*
* @command uw:gauntlet
* @aliases gauntlet
* @usage gauntlet
*/
public function gauntlet() {
echo "Running the gauntlet...\r\n";
exec('drush cr && drush updb -y && drush fra -y && drush uwperm && drush cr');
}
}
Loading