forked from codeceptjs/CodeceptJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRoboFile.php
More file actions
39 lines (37 loc) · 917 Bytes
/
RoboFile.php
File metadata and controls
39 lines (37 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
function docs()
{
$this->taskGulpRun('docs')
->run();
}
function publishSite()
{
$this->stopOnFail();
$this->_copy('CHANGELOG.md', 'docs/changelog.md');
$this->taskGitStack()
->checkout('site')
->merge('master')
->run();
$this->_exec('mkdocs gh-deploy');
$this->taskGitStack()
->checkout('master')
->run();
$this->_remove('docs/changelog.md');
}
function testServer()
{
$this->taskServer(8000)
->dir('test/data/app')
->background()
->run();
$this->taskExec('selenium-standalone start')
->run();
}
}