diff --git a/3rdparty/TaoCommon/clang-foramt-All.ps1 b/3rdparty/TaoCommon/clang-foramt-All.ps1 index 3138c8c..8650dcb 100644 --- a/3rdparty/TaoCommon/clang-foramt-All.ps1 +++ b/3rdparty/TaoCommon/clang-foramt-All.ps1 @@ -3,6 +3,8 @@ $currentDir=Get-Location Write-Host "currentDir" $currentDir Write-Host "scriptDir" $scriptDir $names="*.h","*.cpp","*.c","*.hpp" +$env:Path="C:\Program Files\LLVM\bin;C:\Qt\Tools\QtCreator\bin\clang\bin;$env:Path" Get-ChildItem -Include $names -Recurse $currentDir | ForEach-Object { clang-format -i $_.FullName -} \ No newline at end of file +} +timeout /t 3 \ No newline at end of file