From 53e847ce1dc44dd11a61953580f28fe6635c0d4d Mon Sep 17 00:00:00 2001 From: Connection Refused Date: Thu, 7 May 2020 21:26:33 +0800 Subject: [PATCH] =?UTF-8?q?CLEAN.BAT=20=E2=86=92=20CLEAN.ps1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLEAN.BAT | 3 --- CLEAN.ps1 | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) delete mode 100644 CLEAN.BAT create mode 100644 CLEAN.ps1 diff --git a/CLEAN.BAT b/CLEAN.BAT deleted file mode 100644 index 6a75657b..00000000 --- a/CLEAN.BAT +++ /dev/null @@ -1,3 +0,0 @@ -@ECHO OFF -RD /S /Q Netch\bin > NUL 2>&1 -RD /S /Q Netch\obj > NUL 2>&1 \ No newline at end of file diff --git a/CLEAN.ps1 b/CLEAN.ps1 new file mode 100644 index 00000000..307ba1e3 --- /dev/null +++ b/CLEAN.ps1 @@ -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