mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-07-09 17:28:45 +00:00
chore: add pi-test batch wrapper
This commit is contained in:
parent
6b872be2b9
commit
ceacacaa45
1 changed files with 14 additions and 0 deletions
14
pi-test.bat
Normal file
14
pi-test.bat
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
set "POWERSHELL_EXE=powershell.exe"
|
||||
|
||||
where %POWERSHELL_EXE% >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
>&2 echo powershell.exe not found. Install PowerShell or run pi-test.ps1 directly.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
%POWERSHELL_EXE% -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%pi-test.ps1" %*
|
||||
exit /b %ERRORLEVEL%
|
||||
Loading…
Add table
Add a link
Reference in a new issue