Skip to content

Commit

Permalink
Restored deleted windows build scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Aguirre committed Jan 9, 2017
1 parent 6aa6455 commit 80d6038
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/installbuilder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [ -d $3 ]; then
echo "$3/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2"
$3/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2
elif [ -d '/opt/installbuilder-8.6.0' ]; then
echo "/opt/installbuilder-8.6.0/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2"
/opt/installbuilder-8.6.0/bin/builder build TorgoInstallBuilder.xml windows --setvars project.outputDirectory=$1 project.version=$2
else
echo '/opt/installbuilder-8.6.0 not found'
fi
11 changes: 11 additions & 0 deletions scripts/launch4j.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [ -d $2 ]; then
echo "java -jar $2/launch4j.jar $1"
java -jar $2/launch4j.jar $1
elif [ -d '/opt/launch4j/' ]; then
echo "java -jar /opt/launch4j/launch4j.jar $1"
java -jar /opt/launch4j/launch4j.jar $1
else
echo "/opt/launch4j not found"
fi

0 comments on commit 80d6038

Please sign in to comment.