Skip to content

Commit

Permalink
update and init submodules if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Mar 12, 2015
1 parent 484935c commit f95d109
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/TestRunner/Runner/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function __construct(Net_SSH2 $ssh)
public function updatePiwik($gitHash)
{
$this->ssh->exec('git reset --hard');
$this->ssh->exec('git submodule update --init');
$this->ssh->exec('git submodule foreach --recursive git reset --hard');
$this->ssh->exec('git clean -d -f');
$this->ssh->exec('git submodule foreach git clean -f');
Expand Down

0 comments on commit f95d109

Please sign in to comment.