automate play2 installation
parent
b176324f62
commit
93f34ec4e8
|
@ -11,6 +11,7 @@ target
|
|||
bin/.translate_version
|
||||
data/
|
||||
dist/
|
||||
play/
|
||||
|
||||
db/lib/
|
||||
|
||||
|
|
10
bin/play
10
bin/play
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue