mirror of https://github.com/abpframework/abp.git
committed by
GitHub
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
$folders = Get-ChildItem -Directory |
||||
|
|
||||
|
foreach ($folder in $folders) { |
||||
|
$zipFile = "./" + $folder.Name + ".zip" |
||||
|
|
||||
|
if (Test-Path $zipFile) { |
||||
|
Remove-Item $zipFile |
||||
|
} |
||||
|
|
||||
|
Compress-Archive -Path $folder.FullName -DestinationPath $zipFile |
||||
|
} |
||||
|
|
||||
|
Write-Host "All templates have been zipped." |
||||
Loading…
Reference in new issue