Files
sproutclaw/test.bat
shumengya f1c5e7dc1d
Some checks failed
CI / build-check-test (push) Has been cancelled
chore: rename pi-built/pi-test scripts to build/test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:54:00 +08:00

15 lines
332 B
Batchfile

@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 test.ps1 directly.
exit /b 1
)
%POWERSHELL_EXE% -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%test.ps1" %*
exit /b %ERRORLEVEL%