From 72231250ed81e10d66bfe70701e64fa5fe50f712 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Wed, 15 Jun 2016 23:09:44 +0200 Subject: Publish --- jrt/runexample.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 jrt/runexample.sh (limited to 'jrt/runexample.sh') diff --git a/jrt/runexample.sh b/jrt/runexample.sh new file mode 100755 index 00000000000..f119ee3c4ee --- /dev/null +++ b/jrt/runexample.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +if [ $# -eq 0 ]; then + echo "usage: $0 [class args]" + echo " available class files:" + ls examples/classes +else + java -cp build/classes:examples/classes "$@" +fi -- cgit v1.2.3