Permalink
Browse files

jcj: shortcut for compiling and running single java file

  • Loading branch information...
1 parent 89cbffc commit ce59db44d9a34af59b541b4920e5b5933c7110d5 @w0ng committed Feb 16, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 jcj
View
2 jcj
@@ -0,0 +1,2 @@
+#!/bin/bash
+javac $1 && java ${1:0:-5}

0 comments on commit ce59db4

Please sign in to comment.