Files
thepool/do_release.bat

24 lines
454 B
Batchfile

@echo off
REM Comprobar parámetro
IF "%1"=="" (
echo Uso: build_windows.bat ^<PARAMETRO^>
exit /b 1
)
set PARAM=%1
echo Compilando windows...
make windows || exit /b 1
echo Creando data.jf2...
respak2 -p || exit /b 1
echo Creando paquetes...
REM Crear ZIP release con exe + data.jf2
tar -a -c -f mini_%PARAM%_windows_release.zip thepool.exe data.jf2 bin\SDL3.dll || exit /b 1
echo Paquetes generados:
echo thepool_%PARAM%_win32-x64.zip