2017 © Pedro Peláez
 

library robo-extensions

Custom tasks for RoboTask

image

jasny/robo-extensions

Custom tasks for RoboTask

  • Monday, August 24, 2015
  • by jasny
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,314 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Extensions for RoboTask

Installation

composer require jasny\robo-extensions

Usage

class RoboFile extends Robo\Tasks
{
    use Jasny\Robo\loadTasks;

    ...
}

LessTask

A version of Robo\Task\Assets\Less that supports passing options and using uri_root for less.php., (*1)

  $this->taskLess(['www/less/main.less' => 'www/css/style.css'])
    ->compiler('less', [
       'base' => 'www',
       'strictMath' => true
    ])
    ->run();

BumpVersionTask

Bump the version in a json file., (*2)

Optionally the git tags are referenced to determine the new version., (*3)

  $this->taskBumpVersion('composer.json')
    ->inc('minor')
    ->run();

  $this->taskBumpVersion('composer.json')
    ->to('1.2.6')
    ->run();

  // `to` also works for 'major', 'minor' and 'patch'
  $this->taskBumpVersion('composer.json')
    ->to('minor')
    ->run();

  // Check the git tags
  $this->taskBumpVersion('composer.json')
    ->inc('patch')
    ->useGit()
    ->run();

The Versions

24/08 2015

dev-master

9999999-dev

Custom tasks for RoboTask

  Sources   Download

MIT

The Requires

 

task build

24/08 2015

v0.2.0

0.2.0.0

Custom tasks for RoboTask

  Sources   Download

MIT

The Requires

 

task build

23/08 2015

v0.1.2

0.1.2.0

Custom tasks for RoboTask

  Sources   Download

MIT

The Requires

 

task build

23/08 2015

v0.1.1

0.1.1.0

Custom tasks for RoboTask

  Sources   Download

MIT

The Requires

 

task build

23/08 2015

v0.1.0

0.1.0.0

Custom tasks for RoboTask

  Sources   Download

MIT

The Requires

 

task build