CORPRIV-659: Basic shell script to package DemoBench as DMG.

This commit is contained in:
Chris Rankin 2017-02-13 08:58:31 +00:00
parent 4960a472ef
commit bb8aa50d68

10
package-demobench.sh Executable file
View File

@ -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