Files
lagueirto/do_release.bat

21 lines
407 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...
g++ main.cpp -O3 -o lagueirto.exe || exit /b 1
echo Creando paquetes...
REM Crear ZIP release con mini.exe + DLLs
tar -a -c -f lagueirto_%PARAM%_win32-x64.zip lagueirto.exe || exit /b 1
echo Paquetes generados:
echo lagueirto_%PARAM%_win32-x64.zip