]> xenbits.xensource.com Git - pvdrivers/win/xenhid.git/commitdiff
Rebuild CodeQL builds
authorOwen Smith <owen.smith@cloud.com>
Tue, 18 Apr 2023 08:50:45 +0000 (09:50 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 22 May 2023 12:49:56 +0000 (13:49 +0100)
CodeQL can sometimes fail to detect any source code if the codebase is
not rebuilt. Use the Rebuild target to force all intermediate build artifacts
to be cleaned beforehand.

Signed-off-by: Owen Smith <owen.smith@cloud.com>
msbuild.ps1

index e5f03002eb0e7c68fb18c8a91bafd0d497ae2c0e..82ea11332f794cfb157eefe23f77df527a935791 100644 (file)
@@ -98,7 +98,7 @@ Function Run-CodeQL {
        }
        $a = "msbuild.exe"
        $a += " /m:4"
-       $a += " /t:Build"
+       $a += " /t:Rebuild"
        $a += [string]::Format(" /p:Configuration=""{0}""", $Configuration)
        $a += [string]::Format(" /p:Platform=""{0}""", $Platform)
        $a += [string]::Format(" /p:SignMode=""{0}""", $SignMode)