-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1055755: build_snowflake_cli.bat 2
- Loading branch information
1 parent
d5908ad
commit fd5395d
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
@echo on | ||
echo %PATH% | ||
where /r C:\Program Files python.exe | ||
|
||
|
||
"C:\Program Files\Python310\python.exe" --version | ||
"C:\Program Files\Python310\python.exe" -m pip install --upgrade pip uv hatch | ||
|
||
|
||
|
||
@ECHO OFF | ||
@SET CLI_VERSION = | ||
FOR /F %%I IN ('C:\Program Files\Python310\python.exe -m hatch version') DO @SET "CLI_VERSION=%%I" | ||
@ECHO ON | ||
|
||
echo %CLI_VERSION% | ||
|
||
|
||
REM "C:\Program Files\Python310\python.exe" -m hatch -e packaging run pyinstaller --name snow --onedir --clean --noconfirm --noconsole --contents-directory-snowflake-cli |