PHP code example of holyshared / robo-peridot
1. Go to this page and download the library: Download holyshared/robo-peridot library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
holyshared / robo-peridot example snippets
class RoboFile extends Tasks
{
use \holyshared\peridot\robo\loadTasks;
public function coverallsUpload()
{
$result = $this->taskPeridot()
->bail()
->directoryPath('spec')
->run();
return $result;
}
}
class RoboFile extends Tasks
{
use \holyshared\peridot\robo\loadTasks;
public function coverallsUpload()
{
$result = $this->taskPeridot()
->filePaths([
'spec/foo.php',
'spec/bar.php'
])
->run();
return $result;
}
}