Skip to content

Commit 1eec546

Browse files
committed
update format script
1 parent 2d806af commit 1eec546

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

3rdparty/TaoCommon/clang-foramt-All.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ $currentDir=Get-Location
33
Write-Host "currentDir" $currentDir
44
Write-Host "scriptDir" $scriptDir
55
$names="*.h","*.cpp","*.c","*.hpp"
6+
$env:Path="C:\Program Files\LLVM\bin;C:\Qt\Tools\QtCreator\bin\clang\bin;$env:Path"
67
Get-ChildItem -Include $names -Recurse $currentDir | ForEach-Object {
78
clang-format -i $_.FullName
8-
}
9+
}
10+
timeout /t 3

0 commit comments

Comments
 (0)