fixed linux/macos run script. added additional cli options to create jar, and redirected compiled classes to new bin directory

This commit is contained in:
Josh Ashton
2024-04-01 11:24:00 -06:00
parent 414bf3c104
commit 579a791d6c
20 changed files with 33 additions and 17 deletions
+3 -6
View File
@@ -2,15 +2,12 @@ function Run {
param(
[string]$flag
)
javac *.java
java App $flag
Remove-Item *.class
Remove-Item gui/*.class
Remove-Item gui/backend/*.class
javac -d bin *.java
java -cp bin App $flag
}
if ($args.Length -eq 1) {
$flag = $args[0]
}
Run $flag
Run $flag