Skip to content

Commit

Permalink
added different build support for windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
cansik committed Jun 12, 2017
1 parent f217cdb commit 52c5996
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,17 @@ rm -r -f build

echo compiling...

gradle build
gradle jar
gradle javadoc
if [ "$(expr substr $(uname -s) 1 6)" == "CYGWIN" ];then
echo running gradle commands on windows
gradlew.bat build
gradlew.bat jar
gradlew.bat javadoc
else
echo running gradle commands on unix
gradle build
gradle jar
gradle javadoc
fi

echo "copy files..."
OUTPUT="release/PostFX"
Expand Down

0 comments on commit 52c5996

Please sign in to comment.