Skip to content
Snippets Groups Projects
Commit 902897a2 authored by hluk's avatar hluk
Browse files

Windows: Avoid packaging files created by tests

Run tests after packaging the app to avoid including
"config\copyq.test" and possibly other files.
parent 155ba903
No related branches found
No related tags found
No related merge requests found
......@@ -30,15 +30,15 @@ xcopy /F "%BuildPlugins%\*.dll" "%Destination%\plugins" || goto :error
%QTDIR%\bin\windeployqt --release --no-system-d3d-compiler --no-angle --no-opengl-sw "%Executable%" || goto :error
"%Executable%" --help || goto :error
"%Executable%" --version || goto :error
"%Executable%" --info || goto :error
"%Executable%" tests || "%Executable%" tests || goto :error
7z a "%Name%.zip" -r "%Destination%" || goto :error
choco install -y InnoSetup
"C:\Program Files (x86)\Inno Setup 5\iscc" "/O%APPVEYOR_BUILD_FOLDER%" "/DAppVersion=%AppVersion%" "/DRoot=%Destination%" "/DSource=%Source%" "%Source%\Shared\copyq.iss" || goto :error
"%Executable%" --help || goto :error
"%Executable%" --version || goto :error
"%Executable%" --info || goto :error
"%Executable%" tests || "%Executable%" tests || goto :error
:error
exit /b %errorlevel%
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment