Skip to content

Instantly share code, notes, and snippets.

@InterestingBrainPoops
Last active September 9, 2020 18:43
Show Gist options
  • Save InterestingBrainPoops/2770fa1f7fe8cdd0c1bad2726776fbcc to your computer and use it in GitHub Desktop.
Save InterestingBrainPoops/2770fa1f7fe8cdd0c1bad2726776fbcc to your computer and use it in GitHub Desktop.
Project Builder, Probably going to work on it more.

Usage:

All you have to do is run

sh builder.sh [PATH] [FILENAME]

There are 2 cmd line args.
Path [PATH] and file name [FILENAME].
path is relative to the location of the script, and filename is the filename of the java file w/thout the extension.

cd $1
javac $2.java
java $2
rm $2.class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment