Make copy_build copy dot files, also fix comments in new build plugins. Closes #50.
This commit is contained in:
parent
4505517093
commit
fa0cfc3614
3 changed files with 5 additions and 4 deletions
|
|
@ -10,7 +10,8 @@
|
|||
namespace PHPCI\Plugin;
|
||||
|
||||
/**
|
||||
* Composer Plugin - Provides access to Composer functionality.
|
||||
* Clean build removes Composer related files and allows PHPCI users to clean up their build directory.
|
||||
* Useful as a precursor to copy_build.
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Plugins
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
namespace PHPCI\Plugin;
|
||||
|
||||
/**
|
||||
* Composer Plugin - Provides access to Composer functionality.
|
||||
* Copy Build Plugin - Copies the entire build to another directory.
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Plugins
|
||||
|
|
@ -39,7 +39,7 @@ class CopyBuild implements \PHPCI\Plugin
|
|||
return false;
|
||||
}
|
||||
|
||||
$cmd = 'mkdir -p "%s" && cp -Rf "%s"* "%s/"';
|
||||
$cmd = 'mkdir -p "%s" && ls -1a "%s"* | xargs -r -t "%s/"';
|
||||
$success = $this->phpci->executeCommand($cmd, $this->directory, $build, $this->directory);
|
||||
|
||||
if ($this->ignore) {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
namespace PHPCI\Plugin;
|
||||
|
||||
/**
|
||||
* Composer Plugin - Provides access to Composer functionality.
|
||||
* Create a ZIP or TAR.GZ archive of the entire build.
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue