-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
30 lines (25 loc) · 748 Bytes
/
build.bat
File metadata and controls
30 lines (25 loc) · 748 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 Building Shello CLI with PyInstaller...
echo.
REM Install PyInstaller if not already installed
uv pip install pyinstaller
REM Clean previous builds
if exist build rmdir /s /q build
if exist dist\shello rmdir /s /q dist\shello
REM Build the executable
pyinstaller shello.spec --clean
echo.
if exist dist\shello.exe (
echo ✓ Build successful!
echo.
echo Executable created at: dist\shello.exe
echo.
echo To use it system-wide:
echo 1. Add the dist folder to your PATH environment variable, OR
echo 2. Copy dist\shello.exe to a folder that's already in your PATH
echo.
echo Test it with: dist\shello.exe --version
) else (
echo ✗ Build failed! Check the output above for errors.
)
pause