Fix generation

This commit is contained in:
Stéphane Goetz 2015-08-09 22:18:23 +02:00
parent cee589fbad
commit 3db09add7e
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -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'
);
}