From 2b4fcd4429a5df4579b8fbea63f017e56b6f44e4 Mon Sep 17 00:00:00 2001 From: Omar Laurino Date: Sat, 26 May 2018 13:10:43 -0400 Subject: [PATCH] add windows batch file --- recipes/conda/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/conda/build.sh b/recipes/conda/build.sh index 506ccf7..8639d5d 100644 --- a/recipes/conda/build.sh +++ b/recipes/conda/build.sh @@ -4,6 +4,7 @@ mvn package -DskipTests export JOVIAL_DIR=${PREFIX}/opt/jovial export JOVIAL_JAR=${JOVIAL_DIR}/jovial.jar export JOVIAL_BIN=${PREFIX}/bin/jovial +export JOVIAL_WIN_BIN=${PREFIX}/bin/jovial.bat mkdir -p ${JOVIAL_DIR} cp target/jovial*dependencies*.jar ${JOVIAL_JAR} @@ -15,5 +16,11 @@ java -jar ${JOVIAL_JAR} "\$@" EOF +cat << EOF >> ${JOVIAL_WIN_BIN} + +java -jar ${JOVIAL_JAR} %* + +EOF + chmod ug+x ${JOVIAL_BIN}