Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robo\Collection\CollectionBuilder does not implement CommandInterface #442

Closed
burzum opened this issue Sep 7, 2016 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@burzum
Copy link
Contributor

burzum commented Sep 7, 2016

I've checked out the latest version of Robo using ~1 in my composer require. Then I've taken the simple example from the documentation because it is basically already what I want.

class RoboFile extends \Robo\Tasks {

    public function deploy() {
        $gitTask = $this->taskGitStack()
            ->pull();

        $this->taskSshExec('mysite.com')
            ->remoteDir('/var/www/somesite')
            ->exec($gitTask)
            ->run();
    }
}

Then I ran robo deploy and got this:

λ .\bin\robo deploy
in task Robo\Task\Remote\Ssh

Robo\Collection\CollectionBuilder does not implement CommandInterface, so can't be passed into this task

@greg-1-anderson greg-1-anderson added this to the 1.0 milestone Sep 7, 2016
@greg-1-anderson greg-1-anderson self-assigned this Sep 7, 2016
greg-1-anderson added a commit that referenced this issue Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants