automate play2 installation

pull/83/head
Thibault Duplessis 2013-05-04 17:12:57 -03:00
parent b176324f62
commit 93f34ec4e8
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ target
bin/.translate_version
data/
dist/
play/
db/lib/

View File

@ -3,4 +3,14 @@
playdir=play
if [ ! -d $playdir ]; then
echo "Downloading play..."
curl -o play.zip http://downloads.typesafe.com/play/2.1.1/play-2.1.1.zip
echo "Installing play..."
unzip play.zip > /dev/null
mv play-2.* play
rm play.zip
echo "Play downloaded and installed successfuly"
fi
$playdir/play $JVM_OPTIONS "$@"