Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

task/box

Build Status Coverage Status

Example

use Task\Plugin\BoxPlugin;

$project->inject(function ($container) {
    $container['box'] = new BoxPlugin;
});

$project->addTask('box', ['box', function ($box) {
    $box->command('build')->pipe($this->getOutput());
});

Installation

Add to composer.json:

...
"require-dev": {
    "task/box": "~0.1"
}
...

BOX_PATH

Box requires the BOX_PATH constant to be defined to work. It should contain a path to root of the box library; The plugin sets it to ./vendor/kherge/box by default. If you have the library somewhere else, pass the path to the plugin constructor:

$project->inject(function ($container) {
    $container['box'] = new BoxPlugin('path/to/box');
});

About

No description, website, or topics provided.

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.