diff --git a/clear.ps1 b/clear.ps1 new file mode 100644 index 0000000..3703e65 --- /dev/null +++ b/clear.ps1 @@ -0,0 +1,10 @@ +<# +.SYNOPSIS + Delete all compiled files of the current folder and its subfolders. +.DESCRIPTION + This script deletes all the compiled files of the current folder and its subfolders. +.EXAMPLE + Delete all compiled files of the current folder and its subfolders. + .\Clear +#> +Get-ChildItem -Path . -Include *.class -File -Recurse | foreach { $_.Delete() } \ No newline at end of file diff --git a/clear.sh b/clear.sh deleted file mode 100644 index 1460d56..0000000 --- a/clear.sh +++ /dev/null @@ -1,2 +0,0 @@ -# remove all compiled class files. -rm **/*.class \ No newline at end of file