-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate_extension.bat
More file actions
30 lines (24 loc) · 815 Bytes
/
Copy pathupdate_extension.bat
File metadata and controls
30 lines (24 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
echo ==============================================
echo Sindlish VS Code Extension Auto-Updater
echo ==============================================
echo.
set /p EXT_VERSION="Enter extension version (e.g., 1.0.1): "
echo.
echo 1. Updating bundled Python interpreter...
xcopy /E /I /Y interpreter vscode-extension\server\interpreter >nul
echo.
echo 2. Regenerating grammar and definitions...
uv run python tools\generate_grammar.py
echo.
echo 3. Setting extension version to %EXT_VERSION%...
cd vscode-extension
call npm version %EXT_VERSION% --no-git-tag-version
echo.
echo 4. Packaging extension...
call vsce package
echo.
echo ==============================================
echo Upgrade Complete! Version %EXT_VERSION% .vsix file is ready.
echo ==============================================
pause