Consolidate Python ignore rules into root gitignore
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set APP_DIR=C:\ea_py
|
||||
set PY_FILE=get_entry_reply.py
|
||||
|
||||
cd /d "%APP_DIR%"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo ERROR: APP_DIR not found: %APP_DIR%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Current directory: %CD%
|
||||
echo Run file: %APP_DIR%\%PY_FILE%
|
||||
|
||||
uv run python "%APP_DIR%\%PY_FILE%"
|
||||
|
||||
set PY_EXIT_CODE=%ERRORLEVEL%
|
||||
|
||||
if not "%PY_EXIT_CODE%"=="0" (
|
||||
echo ERROR: Python script failed.
|
||||
exit /b %PY_EXIT_CODE%
|
||||
)
|
||||
|
||||
echo Finished.
|
||||
exit /b 0
|
||||
@@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set APP_DIR=C:\ea_py
|
||||
set PY_FILE=get_trend_reply.py
|
||||
|
||||
cd /d "%APP_DIR%"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo ERROR: APP_DIR not found: %APP_DIR%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Current directory: %CD%
|
||||
echo Run file: %APP_DIR%\%PY_FILE%
|
||||
|
||||
uv run python "%APP_DIR%\%PY_FILE%"
|
||||
|
||||
set PY_EXIT_CODE=%ERRORLEVEL%
|
||||
|
||||
if not "%PY_EXIT_CODE%"=="0" (
|
||||
echo ERROR: Python script failed.
|
||||
exit /b %PY_EXIT_CODE%
|
||||
)
|
||||
|
||||
echo Finished.
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user