- [FIX] Eliminat un warning en macOS en jfile
- [WIP] Sistema de release automatic
This commit is contained in:
27
do_release.bat
Normal file
27
do_release.bat
Normal file
@@ -0,0 +1,27 @@
|
||||
@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 Compilando windows_debug...
|
||||
make windows_debug || exit /b 1
|
||||
|
||||
echo Creando paquetes...
|
||||
|
||||
REM Crear ZIP release con mini.exe + DLLs
|
||||
tar -a -c -f mini_%PARAM%_windows_release.zip mini.exe bin\*.dll || exit /b 1
|
||||
|
||||
REM Crear ZIP debug solo con mini_debug.exe
|
||||
tar -a -c -f mini_%PARAM%_windows_debug.zip mini_debug.exe || exit /b 1
|
||||
|
||||
echo Paquetes generados:
|
||||
echo mini_%PARAM%_windows_release.zip
|
||||
echo mini_%PARAM%_windows_debug.zip
|
||||
Reference in New Issue
Block a user