automate stockfish installation

pull/119/head
Thibault Duplessis 2014-08-09 10:58:31 +02:00
parent 88da67a484
commit d6cc7783bf
4 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ data/
dist/
todos/
node_modules/
local/
cljs/*/out
cljs/*/repl

View File

@ -0,0 +1,14 @@
#!/bin/bash
mkdir -p local
cd local
rm -rf Stockfish
git clone https://github.com/ddugovic/Stockfish
cd Stockfish/src
if [[ $1 = "old" ]]; then
make build ARCH=x86-64
else
make build ARCH=x86-64-modern
fi
./stockfish quit
cd ../..

View File

@ -60,7 +60,8 @@ RSYNC_OPTIONS=" \
--exclude conf/application.conf \
--exclude logs \
--exclude RUNNING_PID \
--exclude bin/.translate_version";
--exclude bin/.translate_version \
--exclude local";
lilalog "Rsync scripts, binaries and assets"
stage="target/universal/stage"

View File

@ -129,7 +129,6 @@ final class Env(
scheduler.message(5 minutes) {
tournamentScheduler -> actorApi.ScheduleNow
}
tournamentScheduler ! actorApi.ScheduleNow
}
private[tournament] lazy val tournamentColl = db(CollectionTournament)