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