-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod.bat
More file actions
49 lines (43 loc) · 1.23 KB
/
prod.bat
File metadata and controls
49 lines (43 loc) · 1.23 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@echo off
REM Production build script for Code Summarizer (Windows)
REM This script builds the application for distribution
echo =========================================
echo Code Summarizer - Production Build
echo =========================================
echo.
REM Check if dependencies are installed
if not exist "node_modules\" (
echo Installing dependencies...
call npm install
) else (
echo [OK] Dependencies already installed
)
echo.
echo Building Code Summarizer for production...
echo This may take a few minutes...
echo.
call npm run tauri build
if %errorlevel% equ 0 (
echo.
echo =========================================
echo Build completed successfully!
echo =========================================
echo.
echo Your application has been built and can be found in:
echo src-tauri\target\release\
echo.
echo Windows installer:
echo src-tauri\target\release\bundle\msi\
echo.
echo Executable:
echo src-tauri\target\release\code-summarizer.exe
echo.
) else (
echo.
echo =========================================
echo Build failed!
echo =========================================
echo Please check the error messages above.
exit /b 1
)
pause