Skip to content

Commit

Permalink
add windows batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
olaurino committed May 26, 2018
1 parent 628a973 commit 2b4fcd4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes/conda/build.sh
Expand Up @@ -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}
Expand All @@ -15,5 +16,11 @@ java -jar ${JOVIAL_JAR} "\$@"
EOF

cat << EOF >> ${JOVIAL_WIN_BIN}
java -jar ${JOVIAL_JAR} %*
EOF

chmod ug+x ${JOVIAL_BIN}

0 comments on commit 2b4fcd4

Please sign in to comment.