mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
14 lines
284 B
Bash
14 lines
284 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
DIRNAME=$(dirname $0)
|
||
|
|
||
|
if [ -z "$JAVA_HOME" -o ! -x $JAVA_HOME/bin/java ]; then
|
||
|
echo "Please set JAVA_HOME correctly"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
$DIRNAME/../../gradlew -PpackageType=dmg javapackage $*
|
||
|
echo
|
||
|
echo "Wrote installer to '$(find build/javapackage/bundles -type f)'"
|
||
|
echo
|