Few fixes for windows
This commit is contained in:
parent
d9264378e7
commit
3ea6b720b1
3 changed files with 13 additions and 1 deletions
|
|
@ -38,6 +38,9 @@ class CleanBuild implements \PHPCI\Plugin
|
|||
public function execute()
|
||||
{
|
||||
$cmd = 'rm -Rf "%s"';
|
||||
if (IS_WIN) {
|
||||
$cmd = 'rmdir /S /Q "%s"';
|
||||
}
|
||||
$this->phpci->executeCommand($cmd, $this->phpci->buildPath . 'composer.phar');
|
||||
$this->phpci->executeCommand($cmd, $this->phpci->buildPath . 'composer.lock');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue