mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
17 lines
322 B
PowerShell
17 lines
322 B
PowerShell
Push-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
|
|
|
if ( Test-Path 'release' ) {
|
|
rm -Recurse -Force 'release'
|
|
}
|
|
|
|
Get-ChildItem -Path '.' -Directory | ForEach-Object {
|
|
$name=$_.Name
|
|
|
|
if ( Test-Path "$name\src" ) {
|
|
rm -Recurse -Force "$name\src"
|
|
}
|
|
}
|
|
|
|
Pop-Location
|
|
exit 0
|