mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-17 20:12:54 +08:00
8 lines
262 B
PowerShell
8 lines
262 B
PowerShell
$scriptDir=$PSScriptRoot
|
|
$currentDir=Get-Location
|
|
Write-Host "currentDir" $currentDir
|
|
Write-Host "scriptDir" $scriptDir
|
|
$names="*.h","*.cpp","*.c","*.hpp"
|
|
Get-ChildItem -Include $names -Recurse $currentDir | ForEach-Object {
|
|
clang-format -i $_.FullName
|
|
} |