diff options
| -rw-r--r-- | .gemini/skills/vim-bundle-maintenance/SKILL.md | 3 | ||||
| -rwxr-xr-x | bundle-update.sh | 20 |
2 files changed, 1 insertions, 22 deletions
diff --git a/.gemini/skills/vim-bundle-maintenance/SKILL.md b/.gemini/skills/vim-bundle-maintenance/SKILL.md index 69ec63d..6b4838e 100644 --- a/.gemini/skills/vim-bundle-maintenance/SKILL.md +++ b/.gemini/skills/vim-bundle-maintenance/SKILL.md @@ -21,7 +21,6 @@ This skill provides a standardized workflow for maintaining Vim plugins managed ```bash git submodule update --init --recursive --remote ``` -- **Modernize Update Script**: Ensure `bundle-update.sh` (if it exists) uses the `git submodule update --remote` approach rather than manual `git pull` within directories to avoid branch-matching issues. ### 3. Clean and Recompile Some plugins require manual compilation after an update. @@ -30,7 +29,7 @@ Some plugins require manual compilation after an update. 2. Run installer: `python3 pack/bundle/start/YouCompleteMe/install.py --clang-completer` (add other flags like `--ts-completer` as needed). ### 4. Finalize -- Stage the changes: `git add .gitmodules bundle-update.sh pack/bundle/start/` +- Stage the changes: `git add .gitmodules pack/bundle/start/` - Commit with a descriptive message including the update date. ## Common Flags for YCM install.py diff --git a/bundle-update.sh b/bundle-update.sh deleted file mode 100755 index 28d7185..0000000 --- a/bundle-update.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -wd=$(dirname $0) - -cd "$wd" -echo "Syncing submodules..." -git submodule sync --recursive -echo "Updating submodules to latest upstream..." -git submodule update --init --recursive --remote - -# Clean YCM to ensure a fresh state if needed -if [ -d "pack/bundle/start/YouCompleteMe" ]; then - echo "Cleaning YouCompleteMe..." - (cd pack/bundle/start/YouCompleteMe && git clean -fdx && git checkout .) -fi - -echo "Staging changes..." -git add .gitmodules bundle-update.sh pack/bundle/start/ -git commit -m "Bundle update $(date)" -echo "Update complete." |
