From 93402a62fc8eaeceb198f34fcca140866947ec9d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 5 Jan 2019 18:20:53 -0800 Subject: [PATCH] Archive symbol ZIP to ML_SYMBOL_ARCHIVE folder --- scripts/generate-installers.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/generate-installers.bat b/scripts/generate-installers.bat index ebd14f37..a714fef2 100644 --- a/scripts/generate-installers.bat +++ b/scripts/generate-installers.bat @@ -96,6 +96,17 @@ if "%ML_SYMBOL_STORE%" NEQ "" ( ) ) +if "%ML_SYMBOL_ARCHIVE%" NEQ "" ( + echo Copying PDB ZIP to symbol archive: %ML_SYMBOL_ARCHIVE% + copy %SYMBOLS_FOLDER%\MoonlightDebuggingSymbols-%ARCH%-%VERSION%.zip %ML_SYMBOL_ARCHIVE% + if !ERRORLEVEL! NEQ 0 goto Error +) else ( + if "%MUST_DEPLOY_SYMBOLS%"=="1" ( + echo "A symbol archive directory must be specified in ML_SYMBOL_ARCHIVE for signed release builds" + exit /b 1 + ) +) + echo Copying DLL dependencies copy %SOURCE_ROOT%\libs\windows\lib\%ARCH%\*.dll %DEPLOY_FOLDER% if !ERRORLEVEL! NEQ 0 goto Error