From bb8aa50d684aca305a83808441ee3f374e1bea40 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Mon, 13 Feb 2017 08:58:31 +0000 Subject: [PATCH] CORPRIV-659: Basic shell script to package DemoBench as DMG. --- package-demobench.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 package-demobench.sh diff --git a/package-demobench.sh b/package-demobench.sh new file mode 100755 index 0000000000..ac43c7955c --- /dev/null +++ b/package-demobench.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +DIRNAME=$(dirname $0) + +if [ -z "$JAVA_HOME" ]; then + echo "Please set JAVA_HOME correctly" + exit 1 +fi + +exec $DIRNAME/gradlew -PpackageType=dmg javapackage