Fix generation

This commit is contained in:
Stéphane Goetz 2015-08-09 22:18:23 +02:00
bovenliggende cee589fbad
commit 3db09add7e
2 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen

Bestand weergeven

@ -55,6 +55,8 @@ class Generate extends SymfonyCommand
$daux->setDocumentationPath($daux->getParams()['docs_directory']);
$daux->setThemesPath($daux->getParams()['themes_directory']);
$daux->initializeConfiguration($input->getOption('configuration'));
return $daux;

Bestand weergeven

@ -16,10 +16,10 @@ class GeneratorHelper
mkdir($path);
}
mkdir($path . DIRECTORY_SEPARATOR . 'resources');
mkdir($path . DIRECTORY_SEPARATOR . 'themes');
static::copyRecursive(
$local_base . DIRECTORY_SEPARATOR . 'resources',
$path . DIRECTORY_SEPARATOR . 'resources'
$local_base . DIRECTORY_SEPARATOR . 'themes',
$path . DIRECTORY_SEPARATOR . 'themes'
);
}