]> xenbits.xensource.com Git - pvdrivers/win/xenvkbd.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:50:02 +0000 (13:50 +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 d46ee48be445b62699a7c715e8d2251ecec96aaf..393e91aa77b42ccbc5f6448b34f45cd082392bae 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)