]> xenbits.xensource.com Git - pvdrivers/win/xeniface.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:14 +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 5d479cb14c5d1b83d47d39e70940c889ca3200a1..8deda6a8bb62027ef3ce0f53607f89c694989f0f 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)