A simple CakePHP shell to wrap around Robo.
- CakePHP 3.x
Add the plugin to your project's composer.json - something like this:
{
"require": {
"gourmet/robo": "*"
}
}Because this plugin has the type cakephp-plugin set in its own composer.json,
Composer will install it inside your /Plugins directory, rather than
in your vendor-dir. It is recommended that you add /Plugins/Robo to your
.gitignore file and here's why.
Enable it in your App/Config/bootstrap.php like so:
\Cake\Core\Plugin::load('Robo', [
'namespace' => 'Gourmet\\Robo',
'autoload' => true
]);cake Robo.robot
From the cli:
cake Robo.robot --config=path/to/RoboFile.php
Or using the Path.robofile configuration key:
Cake\Core\Configure::write('Path.robofile', 'path/to/RoboFile.php');- Write tests.
- Add badges (travis, coveralls, downloads, latest stable).
Copyright (c) 2014, Jad Bitar and licensed under The MIT License.