Files
Torch/Jenkins/create-gen-files.ps1
2017-08-22 23:03:44 -07:00

1 line
182 B
PowerShell

Get-ChildItem -Recurse -Filter "*.csproj" | Select-String -Pattern '"[^"]+Gen.cs' -AllMatches | ForEach-Object {echo $null > ("{0}/../{1}" -f $_.Path, $_.Matches.Value.Substring(1))}