Skip to content

Commit

Permalink
add task
Browse files Browse the repository at this point in the history
  • Loading branch information
holyshared committed Jan 4, 2015
1 parent ea91ab1 commit 38aaf79
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

use \Robo\Tasks;
use \coverallskit\robo\CoverallsKitTasks;
use \peridot\robo\PeridotTasks;


/**
* Class RoboFile
Expand All @@ -10,10 +12,16 @@ class RoboFile extends Tasks
{

use CoverallsKitTasks;
use PeridotTasks;


public function specAll()
{
return $this->taskExec('vendor/bin/peridot spec')->run();
$result = $this->taskPeridot()
->directoryPath('spec')
->run();

return $result;
}

public function phpMetrics()
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"phpspec/prophecy": "~1.3",
"cloak/cloak": "~1.4",
"cloak/robo-coveralls-kit": "~1.0",
"robo-peridot/robo-peridot": "~1.0",
"halleck45/php-metrics": "~1.1",
"codegyre/robo": "~0.4"
},
Expand Down

0 comments on commit 38aaf79

Please sign in to comment.