gourmet/robo

A simple shell to wrap around codegyre/robo.

Installs: 743

Dependents: 1

Suggesters: 0

Security: 0

Stars: 5

Watchers: 4

Forks: 1

Type:cakephp-plugin

v0.3.0 2016-02-09 04:54 UTC

This package is auto-updated.

Last update: 2024-10-28 01:12:18 UTC


README

A simple CakePHP shell to wrap around Robo.

Requirements

  • CakePHP 3.x

Install

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 plugin

Enable it in your App/Config/bootstrap.php like so:

\Cake\Core\Plugin::load('Robo', [
	'namespace' => 'Gourmet\\Robo',
	'autoload' => true
]);

Usage

cake Robo.robot

Configure

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');

TODO

  • Write tests.
  • Add badges (travis, coveralls, downloads, latest stable).

License

Copyright (c) 2014, Jad Bitar and licensed under The MIT License.