From a51d17742b0356b02ce323faedb6035e21304178 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Thu, 9 Mar 2017 12:10:47 +0100 Subject: [PATCH] [internal] update coverity script --- _coverity.cmd | 12 ++++++++---- src/rufus.rc | 10 +++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/_coverity.cmd b/_coverity.cmd index 37a6622a..5c7c412b 100644 --- a/_coverity.cmd +++ b/_coverity.cmd @@ -1,14 +1,17 @@ +@rem *** Internal developer script to run Coverity *** @echo off -set COV_DIR=E:\cov-analysis-win32-7.7.0.4 +call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" +set COV_DIR=D:\cov-analysis-win64-8.7.0 set PATH=%PATH%;%COV_DIR%\bin set PWD=%~dp0 +set TARGET=x86_32 rmdir cov-int /s /q >NUL 2>NUL +rmdir %TARGET% /s /q >NUL 2>NUL del cov-int.zip >NUL 2>NUL mkdir cov-int +cov-build --dir cov-int msbuild rufus.sln /p:Configuration=Release,Platform=%TARGET% /maxcpucount rem *** for when/if Coverity manage to clean their act -rem cov-build --dir cov-int msbuild rufus.sln /p:Configuration=Release,Platform=x86_32 /maxcpucount rem cov-build --dir cov-int C:\msys64\usr\bin\bash -cl "export PATH=/mingw32/bin:$PATH; cd /c/rufus; ./configure --build=i686-w64-mingw32 --host=i686-w64-mingw32 --disable-debug; make -j4" -cov-build --dir cov-int wdk_build.cmd rem *** zip script by Peter Mortensen - http://superuser.com/a/111266/286681 echo Set objArgs = WScript.Arguments> zip.vbs echo InputFolder = objArgs(0)>> zip.vbs @@ -17,6 +20,7 @@ echo CreateObject("Scripting.FileSystemObject").CreateTextFile(ZipFile, True).Wr echo Set objShell = CreateObject("Shell.Application")>> zip.vbs echo Set source = objShell.NameSpace(InputFolder)>> zip.vbs echo objShell.NameSpace(ZipFile).CopyHere(source)>> zip.vbs -echo wScript.Sleep 2000>> zip.vbs +echo wScript.Sleep 8000>> zip.vbs CScript zip.vbs %PWD%cov-int %PWD%cov-int.zip del zip.vbs +pause diff --git a/src/rufus.rc b/src/rufus.rc index 105ba5d6..85e73135 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.13.1067" +CAPTION "Rufus 2.13.1068" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -334,8 +334,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,13,1067,0 - PRODUCTVERSION 2,13,1067,0 + FILEVERSION 2,13,1068,0 + PRODUCTVERSION 2,13,1068,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -352,13 +352,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.13.1067" + VALUE "FileVersion", "2.13.1068" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.13.1067" + VALUE "ProductVersion", "2.13.1068" END END BLOCK "VarFileInfo"