Compare commits

...

2 Commits

Author SHA1 Message Date
040e04ff2a editorconfig for powershell scripts. 2024-05-02 16:53:21 +02:00
4731292e21 clear to remove .class files 2024-05-02 16:52:16 +02:00
3 changed files with 16 additions and 6 deletions

View File

@ -1,9 +1,11 @@
root = true
[*.java]
[*.{ps1,java}]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = true
end_of_line = lf
[*.java]
insert_final_newline = true

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