30 lines
701 B
Batchfile
30 lines
701 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
REM Setup script for test Unity projects (Windows)
|
|
REM This initializes and updates git submodules containing test Unity projects
|
|
|
|
echo Setting up test Unity projects...
|
|
|
|
REM Initialize and update all submodules
|
|
echo Initializing git submodules...
|
|
git submodule init
|
|
git submodule update
|
|
|
|
REM Verify that at least one test project exists
|
|
if not exist "data\tests" (
|
|
echo Error: Test projects directory not found
|
|
echo Please ensure git submodules are properly initialized
|
|
exit /b 1
|
|
)
|
|
|
|
echo Test projects setup complete!
|
|
echo Available test projects:
|
|
for /d %%d in (data\tests\*) do (
|
|
if exist "%%d" (
|
|
echo - %%~nd
|
|
)
|
|
)
|
|
|
|
goto :eof
|