mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 00:25:35 +08:00
remove internal files from extract list
This commit is contained in:
@@ -44,11 +44,7 @@ class InitCommand extends Command
|
|||||||
'Module\\' => 'src/Module',
|
'Module\\' => 'src/Module',
|
||||||
'Custom\\' => 'src/Custom',
|
'Custom\\' => 'src/Custom',
|
||||||
],
|
],
|
||||||
'files' => [
|
'files' => [],
|
||||||
'src/Globals/global_functions.php',
|
|
||||||
'src/Globals/global_defines_app.php',
|
|
||||||
'src/Globals/global_class_alias.php',
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$section->write('<fg=gray>更新 composer.json ... </>');
|
$section->write('<fg=gray>更新 composer.json ... </>');
|
||||||
@@ -119,7 +115,6 @@ class InitCommand extends Command
|
|||||||
'/zhamao',
|
'/zhamao',
|
||||||
'/.gitignore',
|
'/.gitignore',
|
||||||
'/config/*',
|
'/config/*',
|
||||||
'/src/Globals/*.php',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->getFilesFromPatterns($patterns);
|
return $this->getFilesFromPatterns($patterns);
|
||||||
|
|||||||
Reference in New Issue
Block a user