NetAdmin/tools/CodeCleanup.ps1
2023-11-17 18:52:06 +08:00

7 lines
252 B
PowerShell

$files = $( foreach ($line in $( git diff head origin/dev --stat-width 200 ) | findstr '\|')
{
$line.split('\|')[0].trim()
} ) -join ';'
echo $files
dotnet jb cleanupcode --no-build --include = "$files" ../NetAdmin.sln
dotnet script ../PushSign.csx