phing/tasks/GuzzleSubSplitTask.php
public function subsplitInit()
    {
        $remote = $this->getRemote();
        $cmd = $this->client->getCommand('subsplit');
        $this->log('running git-subsplit init ' . $remote);

        $cmd->setArguments(array(
            'init',
            $remote
        ));

        try {
            $output = $cmd->execute();
        } catch (Exception $e) {
            throw new BuildException('git subsplit init failed'. $e);
        }
        $this->log(trim($output), Project::MSG_INFO);
        $repo = $this->getRepository();
        chdir($repo . '/.subsplit');
        passthru('php ../composer.phar install --dev');
        chdir($repo);
    }
public function subsplitInit()
    {
        $remote = $this->getRemote();
        $cmd = $this->client->getCommand('subsplit');
        $this->log('running git-subsplit init ' . $remote);

        $cmd->setArguments(array(
            'init',
            $remote
        ));

        try {
            $output = $cmd->execute();
        } catch (Exception $e) {
            throw new BuildException('git subsplit init failed'. $e);
        }
        $this->log(trim($output), Project::MSG_INFO);
        $repo = $this->getRepository();
        chdir($repo . '/.subsplit');
        passthru('php ../composer.phar install --dev');
        chdir($repo);
    }
public function subsplitInit ( ) { $ remote = $ this -> getRemote ( ) ; $ cmd = $ this -> client -> getCommand ( 'subsplit' ) ; $ this -> log ( 'running git-subsplit init ' . $ remote ) ; $ cmd -> setArguments ( array ( 'init' , $ remote ) ) ; try { $ output = $ cmd -> execute ( ) ; } catch ( Exception $ e ) { throw new BuildException ( 'git subsplit init failed' . $ e ) ; } $ this -> log ( trim ( $ output ) , Project :: MSG_INFO ) ; $ repo = $ this -> getRepository ( ) ; chdir ( $ repo . '/.subsplit' ) ; passthru ( 'php ../composer.phar install --dev' ) ; chdir ( $ repo ) ; }
Runs `git subsplit init` based on the remote repository.
Runs git subsplit init based on the remote repository .