From 4c5992ec69f808981e3b7bc6b8424f408037dfff Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Wed, 8 Jan 2020 12:58:00 -0300 Subject: [PATCH] Attempts to deliver qb64.exe with the proper icon. --- .ci/compile.bat | 16 ++++++++++++++-- .ci/deploy.bat | 3 +-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.ci/compile.bat b/.ci/compile.bat index 6d87f87a4..5adc235c6 100644 --- a/.ci/compile.bat +++ b/.ci/compile.bat @@ -2,7 +2,19 @@ SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION echo From git %GITHUB_SHA:~0,7% > internal\version.txt -qb64_bootstrap.exe -x source\qb64.bas -o qb64.exe +qb64_bootstrap.exe -z source\qb64.bas +cd internal\c +c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o ..\temp\icon.o -D DEPENDENCY_LOADFONT parts\video\font\ttf\os\win\src.o -D DEPENDENCY_SOCKETS -D DEPENDENCY_NO_PRINTER -D DEPENDENCY_ICON -D DEPENDENCY_NO_SCREENIMAGE parts\core\os\win\src.a -lopengl32 -lglu32 -mwindows -static-libgcc -static-libstdc++ -D GLEW_STATIC -D FREEGLUT_STATIC -lws2_32 -lwinmm -lgdi32 -o "..\..\qb64.exe" IF ERRORLEVEL 1 exit /b 1 - +cd ..\.. +del qb64_bootstrap.exe +del /q /s secure-file +del /q /s internal\source\* +move internal\temp\* internal\source\ +del /q /s internal\c\libqb\*.o >nul 2>nul +del /q /s internal\c\libqb\*.a >nul 2>nul +del /q /s internal\c\parts\*.o >nul 2>nul +del /q /s internal\c\parts\*.a >nul 2>nul +cd internal\source +del /q /s debug_* recompile_* diff --git a/.ci/deploy.bat b/.ci/deploy.bat index c144d2b14..120e84939 100644 --- a/.ci/deploy.bat +++ b/.ci/deploy.bat @@ -1,9 +1,8 @@ @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION -del qb64_bootstrap.exe cd .. set TIMEX=%TIME: =0% set archive=qb64_%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%-%TIMEX:~0,2%-%TIMEX:~3,2%-%TIMEX:~6,2%_%GITHUB_SHA:~0,7%_win-%PLATFORM%.7z -7z a -xr@qb64\.ci\common-exclusion.list -xr@qb64\.travis\win-exclusion.list %archive% qb64 +7z a -xr@qb64\.ci\common-exclusion.list -xr@qb64\.ci\win-exclusion.list %archive% qb64 scp %archive% remote-server:autobuilds/development/