Files
Rob Relyea 9aa5274613 Generate docs for dotnet nuget commands. (#3253)
generate documentation for dotnet.exe nuget commands via .tt files.
2020-04-08 12:31:58 -07:00

13 lines
439 B
PowerShell

Write-Host "Regenerating all generated files from all .tt files."
Write-Host "(requires t4.exe from 'dotnet tool install --global dotnet-t4' or right click .tt files in VS and 'run custom tool')"
Write-Host ""
$ttFiles = Get-ChildItem -Filter *.tt -Recurse -File -Name
foreach ($ttFile in $ttFiles)
{
if (-not $ttFile.endswith("AssemblySourceFileGenerator.tt"))
{
Write-Host t4.exe $ttFile
t4.exe "$ttFile"
}
}