diff java-genomics-toolkit/toolRunner.sh @ 0:1daf3026d231

Upload alpha version
author timpalpant
date Mon, 13 Feb 2012 21:55:55 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/java-genomics-toolkit/toolRunner.sh	Mon Feb 13 21:55:55 2012 -0500
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+if [ $# -eq 0 ]
+then
+  echo "USAGE: toolRunner.sh APPNAME [ARGS]";
+  exit;
+fi
+
+if [ "$1" = "list" ]
+then
+  find src/edu/unc/genomics/**/*.java -exec basename -s .java {} \;
+fi
+
+java -Dlog4j.configuration=log4j.properties -cp .:build:lib/* edu.unc.genomics."$@"
\ No newline at end of file