Created
August 16, 2014 19:28
-
-
Save alisamii/8ca2d84b30a1850b8d5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
// Tasks | |
// | |
// Here you can define in the `before` and `after` array, Tasks to execute | |
// before or after the core Rocketeer Tasks. You can either put a simple command, | |
// a closure which receives a $task object, or the name of a class extending | |
// the Rocketeer\Abstracts\AbstractTask class | |
// | |
// In the `custom` array you can list custom Tasks classes to be added | |
// to Rocketeer. Those will then be available in the command line | |
// with all the other tasks | |
////////////////////////////////////////////////////////////////////// | |
// Tasks to execute before the core Rocketeer Tasks | |
'before' => array( | |
'setup' => array(), | |
'deploy' => array(), | |
'cleanup' => array(), | |
), | |
// Tasks to execute after the core Rocketeer Tasks | |
'after' => array( | |
'setup' => array(), | |
'deploy' => array(), | |
'cleanup' => array( | |
'ln -s ../../../env/htaccess public/.htaccess', | |
'ln -s ../../env/env.development.php .env.development.php', | |
'composer dump-autoload', | |
), | |
), | |
// Custom Tasks to register with Rocketeer | |
'custom' => array(), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment