diff galaxy-conf/galaxyToolRunner.sh @ 4:4b32ed5d4a1b

Uploaded
author timpalpant
date Tue, 14 Feb 2012 00:59:33 -0500
parents
children eb53be9a09f4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/galaxy-conf/galaxyToolRunner.sh	Tue Feb 14 00:59:33 2012 -0500
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+if [ $# -eq 0 ]
+then
+  echo "USAGE: galaxyToolRunner.sh APPNAME [ARGS]";
+  exit;
+fi
+
+if [ "$1" = "list" ]
+then
+  find src/edu/unc/genomics/**/*.java -exec basename -s .java {} \;
+fi
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+java -Dlog4j.configuration=log4j.properties -cp $DIR:$DIR/../build:$DIR/../dist/*:$DIR/../lib/* edu.unc.genomics."$@"
\ No newline at end of file