Add gdlint and gdformat scripts

This commit is contained in:
2025-09-27 20:40:13 +04:00
parent 86439abea8
commit 06f0f87970
40 changed files with 2314 additions and 732 deletions

View File

@@ -1,9 +1,27 @@
@echo off
setlocal enabledelayedexpansion
echo Automated Test Suite Runner
echo ============================
echo ================================
echo GDScript Test Runner
echo ================================
echo.
REM Check if Godot is available
godot --version >nul 2>&1
if !errorlevel! neq 0 (
echo ERROR: Godot is not installed or not in PATH
echo.
echo Installation instructions:
echo 1. Download Godot from https://godotengine.org/download
echo 2. Add Godot executable to your PATH environment variable
echo 3. Or place godot.exe in this project directory
echo 4. Restart your command prompt
echo 5. Run this script again
echo.
pause
exit /b 1
)
echo Scanning for test files in tests\ directory...
set total_tests=0
@@ -34,9 +52,9 @@ echo Tests Passed: !passed_tests!
echo Tests Failed: !failed_tests!
if !failed_tests! equ 0 (
echo ALL TESTS PASSED!
echo ALL TESTS PASSED!
) else (
echo !failed_tests! TEST(S) FAILED
echo !failed_tests! TEST(S) FAILED
)
pause
@@ -95,4 +113,4 @@ REM Clean up temporary file
if exist temp_test_output.txt del temp_test_output.txt
echo.
goto :eof
goto :eof