Skip to content

Commit 0455f55

Browse files
Removed exe scripts in favor of batch only
1 parent 5b96afd commit 0455f55

12 files changed

+45
-759
lines changed

assets/dev_tools/LICENSE

Lines changed: 0 additions & 674 deletions
This file was deleted.
-10.9 MB
Binary file not shown.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@echo off
1+
@echo of
22

3-
cd /d %~dp0
3+
cd /d "%~dp0"
44

5-
set "py_project_dev_tools_exe=%CD%\..\py_project_dev_tools.exe"
5+
call install_hatch.bat
66

7-
set "toml=%CD%\..\..\..\pyproject.toml"
7+
cd /d "..\..\.."
88

9-
"%py_project_dev_tools_exe%" cleanup_repo --project_toml_path "%toml%"
9+
hatch run scripts:clean
1010

11-
exit /b 0
11+
exit /b
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@echo off
2+
setlocal
3+
4+
:: Check if 'hatch' command exists
5+
hatch --version >nul 2>&1
6+
if %errorlevel%==0 (
7+
rem echo Hatch is already installed.
8+
exit /b 0
9+
)
10+
11+
:: Hatch not found, install it using pip
12+
echo Hatch not found. Installing via pip...
13+
python -m pip install hatch
14+
15+
:: Re-check installation
16+
hatch --version >nul 2>&1
17+
if %errorlevel%==0 (
18+
echo Hatch installed successfully.
19+
) else (
20+
echo Failed to install Hatch. Make sure Python and pip are properly configured in PATH.
21+
exit /b 1
22+
)
23+
24+
endlocal

assets/dev_tools/windows/lint_code.bat

Lines changed: 0 additions & 11 deletions
This file was deleted.

assets/dev_tools/windows/make_exe_release.bat

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
@echo off
2+
cd /d "%~dp0"
23

3-
cd /d %~dp0
4+
call install_hatch.bat
45

5-
set "py_project_dev_tools_exe=%CD%\..\py_project_dev_tools.exe"
6+
cd /d "..\..\.."
67

7-
set "toml=%CD%\..\..\..\pyproject.toml"
8+
hatch run uv sync
89

9-
"%py_project_dev_tools_exe%" refresh_deps --project_toml_path "%toml%"
10-
11-
exit /b 0
10+
exit /b
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
@echo off
2+
cd /d "%~dp0"
23

3-
cd /d %~dp0
4+
call install_hatch.bat
45

5-
set "py_project_dev_tools_exe=%CD%\..\py_project_dev_tools.exe"
6+
cd /d "..\..\.."
67

7-
set "toml=%CD%\..\..\..\pyproject.toml"
8+
hatch env create
89

9-
"%py_project_dev_tools_exe%" setup_virtual_environment --project_toml_path "%toml%" --env_name "default"
10-
11-
exit /b 0
10+
exit /b
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
@echo off
2+
cd /d "%~dp0"
23

3-
cd /d %~dp0
4+
call install_hatch.bat
45

5-
set "py_project_dev_tools_exe=%CD%\..\py_project_dev_tools.exe"
6+
cd /d "..\..\.."
67

7-
set "toml=%CD%\..\..\..\pyproject.toml"
8+
hatch env create dev
89

9-
"%py_project_dev_tools_exe%" setup_virtual_environment --project_toml_path "%toml%" --env_name "dev"
10-
11-
exit /b 0
10+
exit /b

assets/dev_tools/windows/test_exe_release.bat

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)