mirror of
https://github.com/netchx/netch.git
synced 2026-05-03 22:25:50 +08:00
CLEAN.BAT → CLEAN.ps1
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
@ECHO OFF
|
||||
RD /S /Q Netch\bin > NUL 2>&1
|
||||
RD /S /Q Netch\obj > NUL 2>&1
|
||||
21
CLEAN.ps1
Normal file
21
CLEAN.ps1
Normal file
@@ -0,0 +1,21 @@
|
||||
if (Test-Path Netch\bin)
|
||||
{
|
||||
Remove-Item -Recurse -Force Netch\bin
|
||||
}
|
||||
|
||||
if (Test-Path Netch\obj)
|
||||
{
|
||||
Remove-Item -Recurse -Force Netch\obj
|
||||
}
|
||||
|
||||
if (Test-Path NetchLib\bin)
|
||||
{
|
||||
Remove-Item -Recurse -Force NetchLib\bin
|
||||
}
|
||||
|
||||
if (Test-Path NetchLib\obj)
|
||||
{
|
||||
Remove-Item -Recurse -Force NetchLib\obj
|
||||
}
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user