Fix generation
This commit is contained in:
parent
cee589fbad
commit
3db09add7e
@ -55,6 +55,8 @@ class Generate extends SymfonyCommand
|
|||||||
|
|
||||||
$daux->setDocumentationPath($daux->getParams()['docs_directory']);
|
$daux->setDocumentationPath($daux->getParams()['docs_directory']);
|
||||||
|
|
||||||
|
$daux->setThemesPath($daux->getParams()['themes_directory']);
|
||||||
|
|
||||||
$daux->initializeConfiguration($input->getOption('configuration'));
|
$daux->initializeConfiguration($input->getOption('configuration'));
|
||||||
|
|
||||||
return $daux;
|
return $daux;
|
||||||
|
@ -16,10 +16,10 @@ class GeneratorHelper
|
|||||||
mkdir($path);
|
mkdir($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir($path . DIRECTORY_SEPARATOR . 'resources');
|
mkdir($path . DIRECTORY_SEPARATOR . 'themes');
|
||||||
static::copyRecursive(
|
static::copyRecursive(
|
||||||
$local_base . DIRECTORY_SEPARATOR . 'resources',
|
$local_base . DIRECTORY_SEPARATOR . 'themes',
|
||||||
$path . DIRECTORY_SEPARATOR . 'resources'
|
$path . DIRECTORY_SEPARATOR . 'themes'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user