Skip to content

Commit

Permalink
update format script
Browse files Browse the repository at this point in the history
  • Loading branch information
jared2020 committed Jul 11, 2024
1 parent 2d806af commit 1eec546
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 3rdparty/TaoCommon/clang-foramt-All.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
timeout /t 3

0 comments on commit 1eec546

Please sign in to comment.