summaryrefslogtreecommitdiff
path: root/.local/bin/jrun
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/jrun')
-rwxr-xr-x.local/bin/jrun14
1 files changed, 0 insertions, 14 deletions
diff --git a/.local/bin/jrun b/.local/bin/jrun
deleted file mode 100755
index 8445dd3..0000000
--- a/.local/bin/jrun
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/env bash
-
-# Script to run simple .java files.
-# because its annoying to have .class files clutter your working directory;
-
-if [ -z $* ]; then
- echo "usage: jrun <filename>"
-else
- filename="${1%.*}"
- \cp -f "$1" /tmp/"$1"
- javac -d /tmp "$1"
- java -cp /tmp "$filename"
-fi
-