mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Sync upstream Gemini-CLI v0.8.2 (#838)
This commit is contained in:
parent
096fabb5d6
commit
eb95c131be
644 changed files with 70389 additions and 23709 deletions
|
|
@ -53,4 +53,25 @@ if (!fs.existsSync(sourceDir)) {
|
|||
}
|
||||
|
||||
copyFilesRecursive(sourceDir, targetDir);
|
||||
|
||||
// Copy example extensions into the bundle.
|
||||
const packageName = path.basename(process.cwd());
|
||||
if (packageName === 'cli') {
|
||||
const examplesSource = path.join(
|
||||
sourceDir,
|
||||
'commands',
|
||||
'extensions',
|
||||
'examples',
|
||||
);
|
||||
const examplesTarget = path.join(
|
||||
targetDir,
|
||||
'commands',
|
||||
'extensions',
|
||||
'examples',
|
||||
);
|
||||
if (fs.existsSync(examplesSource)) {
|
||||
fs.cpSync(examplesSource, examplesTarget, { recursive: true });
|
||||
}
|
||||
}
|
||||
|
||||
console.log('Successfully copied files.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue