Skip to content

Commit

Permalink
auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Jan 27, 2015
1 parent ed3e9b1 commit c75c2f2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/tasks/Base.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if ($this->taskExec('phpunit .')->run()->wasSuccessful()) {
?>
```

* `background()` Executes command in background mode (asynchronously)
#### *public static* instances* `background()` Executes command in background mode (asynchronously)
* `timeout($timeout)` Stop command if it runs longer then $timeout in seconds
* `idleTimeout($timeout)` Stops command if it does not output something for a while
* `arg($arg)` Pass argument to executable
Expand Down Expand Up @@ -49,8 +49,8 @@ $this->taskExecStack()
* `ExecStack stopOnFail(string)`

* `exec($command)`
* `printed($arg)` Should command output be printed
* `dir($dir)` changes working directory of command
* `printed($arg)` Should command output be printed

## ParallelExec

Expand Down
14 changes: 7 additions & 7 deletions docs/tasks/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ $this->taskGitHubRelease('0.1.0')
?>
```

* `\Robo\Task\Vcs\GitHubRelease tag(string $tag)`
* `\Robo\Task\Vcs\GitHubRelease name(string $name)`
* `\Robo\Task\Vcs\GitHubRelease body(string $body)`
* `\Robo\Task\Vcs\GitHubRelease draft(boolean $isDraft)`
* `\Robo\Task\Vcs\GitHubRelease prerelease(boolean $isPrerelease)`
* `\Robo\Task\Vcs\GitHubRelease comittish(string $branch)`
* ` tag(string $tag)`
* ` name(string $name)`
* ` body(string $body)`
* ` draft(boolean $isDraft)`
* ` prerelease(boolean $isPrerelease)`
* ` comittish(string $branch)`

* `askName()`
* `askDescription()`
Expand Down Expand Up @@ -182,7 +182,7 @@ $this->taskPhpServer(8000)
?>
```

* `host($host)`
#### *public static* instances* `host($host)`
* `dir($path)` changes working directory of command
* `background()` Executes command in background mode (asynchronously)
* `timeout($timeout)` Stop command if it runs longer then $timeout in seconds
Expand Down
4 changes: 2 additions & 2 deletions docs/tasks/Remote.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Per default, commands are combined with &&, unless stopOnFail is false.
``` php
<?php

$this->taskSsh('remote.example.com', 'user')
$this->taskSshExec('remote.example.com', 'user')
->exec('cd /var/www/html')
->exec('ls -la')
->exec('chmod g+x logs')
Expand All @@ -96,7 +96,7 @@ $gitTask = $this->taskGitStack()
->checkout('master')
->pull();

$this->taskSsh('remote.example.com')
$this->taskSshExec('remote.example.com')
->exec('cd /var/www/html/site')
->exec($gitTask)
->run();
Expand Down
4 changes: 2 additions & 2 deletions docs/tasks/Vcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ $this->taskGitStack()
* `merge($branch)` Performs git merge
* `checkout($branch)` Executes `git checkout` command
* `exec($command)`
* `printed($arg)` Should command output be printed
* `dir($dir)` changes working directory of command
* `printed($arg)` Should command output be printed

## SvnStack

Expand Down Expand Up @@ -61,7 +61,7 @@ $this->taskSvnStack('username', 'password')
* `commit($message, $options = null)` Executes `svn commit` command with a message
* `checkout($branch)` Executes `svn checkout` command
* `exec($command)`
* `printed($arg)` Should command output be printed
* `dir($dir)` changes working directory of command
* `printed($arg)` Should command output be printed


0 comments on commit c75c2f2

Please sign in to comment.