Skip to content

Commit 16e351d

Browse files
Final rsync optimization with progress tracking
1 parent 5ac0dc6 commit 16e351d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

projects/gemini-cli/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ npm prune --omit=dev
4848
# (production dependencies + jazzer).
4949
npm install @jazzer.js/core
5050

51-
# 5. Copy this minimal, pruned node_modules to the output directory.
52-
# This will now be fast and provide the necessary runtime files.
53-
cp -r node_modules "$OUT/"
51+
# 5. Copy the pruned node_modules to the output directory using rsync for progress.
52+
# This will be fast and will show you exactly what's happening.
53+
echo "Copying pruned node_modules to output directory..."
54+
rsync -ah --progress node_modules/ "$OUT/node_modules/"
55+
echo "Copy complete."

0 commit comments

Comments
 (0)