mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Rename server->core (#638)
This commit is contained in:
committed by
GitHub
parent
c81148a0cc
commit
21fba832d1
@@ -57,10 +57,10 @@ fi
|
||||
echo "packing @gemini-code/cli ..."
|
||||
rm -f packages/cli/dist/gemini-code-cli-*.tgz
|
||||
npm pack -w @gemini-code/cli --pack-destination ./packages/cli/dist &>/dev/null
|
||||
# pack server
|
||||
echo "packing @gemini-code/server ..."
|
||||
rm -f packages/server/dist/gemini-code-server-*.tgz
|
||||
npm pack -w @gemini-code/server --pack-destination ./packages/server/dist &>/dev/null
|
||||
# pack core
|
||||
echo "packing @gemini-code/core ..."
|
||||
rm -f packages/core/dist/gemini-code-server-*.tgz
|
||||
npm pack -w @gemini-code/core --pack-destination ./packages/core/dist &>/dev/null
|
||||
# give node user (used during installation, see Dockerfile) access to these files
|
||||
chmod 755 packages/*/dist/gemini-code-*.tgz
|
||||
|
||||
@@ -89,4 +89,4 @@ else
|
||||
$CMD build "${build_args[@]}" >$BUILD_STDOUT
|
||||
fi
|
||||
$CMD image prune -f >/dev/null
|
||||
echo "built $IMAGE"
|
||||
echo "built $IMAGE"
|
||||
@@ -4,10 +4,10 @@
|
||||
mkdir -p bundle
|
||||
|
||||
# Copy specific shell files to the root of the bundle directory
|
||||
cp "packages/server/src/tools/shell.md" "bundle/shell.md"
|
||||
cp "packages/server/src/tools/shell.json" "bundle/shell.json"
|
||||
cp "packages/core/src/tools/shell.md" "bundle/shell.md"
|
||||
cp "packages/core/src/tools/shell.json" "bundle/shell.json"
|
||||
|
||||
# Find and copy all .sb files from packages to the root of the bundle directory
|
||||
find packages -name '*.sb' -exec cp -f {} bundle/ \;
|
||||
|
||||
echo "Assets copied to bundle/"
|
||||
echo "Assets copied to bundle/"
|
||||
Reference in New Issue
Block a user