clear to remove .class files

This commit is contained in:
Sebastian Brosch 2024-05-02 16:52:16 +02:00
parent 7dc5441c89
commit 4731292e21
2 changed files with 10 additions and 2 deletions

10
clear.ps1 Normal file
View File

@ -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() }

View File

@ -1,2 +0,0 @@
# remove all compiled class files.
rm **/*.class