Skip to content

Commit d688b85

Browse files
committed
Added run.bat helper script
1 parent 5478fbe commit d688b85

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

run.bat

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@echo off
2+
setlocal
3+
4+
set "script_dir=%~dp0"
5+
set "venv_dir=%script_dir%venv"
6+
7+
if not exist "%venv_dir%" (
8+
python -m venv "%venv_dir%"
9+
"%venv_dir%\Scripts\python" -m pip --require-virtualenv install --upgrade pip build
10+
)
11+
12+
"%venv_dir%\Scripts\python" %*
13+
14+
endlocal

0 commit comments

Comments
 (0)