mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 01:59:00 +08:00
Allow use of VS LLVM clang-format. (#13142)
This commit is contained in:
parent
4a9b658141
commit
4a08a10f04
@ -9,8 +9,12 @@ Param(
|
||||
$clangFormat = 'C:\Program Files\LLVM\bin\clang-format.exe'
|
||||
if (-not (Test-Path $clangFormat))
|
||||
{
|
||||
Write-Error "clang-format not found; is it installed in the CI machines?"
|
||||
throw
|
||||
$clangFormat = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin\clang-format.exe'
|
||||
if (-not (Test-Path $clangFormat))
|
||||
{
|
||||
Write-Error 'clang-format not found; is it installed in the CI machines?'
|
||||
throw
|
||||
}
|
||||
}
|
||||
|
||||
$toolsrc = Get-Item "$Root/toolsrc"
|
||||
|
Loading…
Reference in New Issue
Block a user