added dev flag to keep git repos, enabling local development work on framework
This commit is contained in:
parent
42f8caea66
commit
6719c38d7a
|
@ -106,6 +106,9 @@ class RefreshMarkdownTask extends BuildTask
|
|||
*/
|
||||
private function cleanRepository(array $repository)
|
||||
{
|
||||
// if the dev=1 flag is used when invoking RefreshMarkdownTask the git repos are kept, enabling local development of framework.
|
||||
if( isset($_REQUEST['dev']) && $_REQUEST['dev'] ) return;
|
||||
|
||||
$paths = array_merge(glob("*"), glob(".*"));
|
||||
|
||||
foreach ($paths as $path) {
|
||||
|
|
Loading…
Reference in New Issue