automate stockfish installation
parent
88da67a484
commit
d6cc7783bf
|
@ -21,6 +21,7 @@ data/
|
||||||
dist/
|
dist/
|
||||||
todos/
|
todos/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
local/
|
||||||
|
|
||||||
cljs/*/out
|
cljs/*/out
|
||||||
cljs/*/repl
|
cljs/*/repl
|
||||||
|
|
|
@ -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 ../..
|
|
@ -60,7 +60,8 @@ RSYNC_OPTIONS=" \
|
||||||
--exclude conf/application.conf \
|
--exclude conf/application.conf \
|
||||||
--exclude logs \
|
--exclude logs \
|
||||||
--exclude RUNNING_PID \
|
--exclude RUNNING_PID \
|
||||||
--exclude bin/.translate_version";
|
--exclude bin/.translate_version \
|
||||||
|
--exclude local";
|
||||||
|
|
||||||
lilalog "Rsync scripts, binaries and assets"
|
lilalog "Rsync scripts, binaries and assets"
|
||||||
stage="target/universal/stage"
|
stage="target/universal/stage"
|
||||||
|
|
|
@ -129,7 +129,6 @@ final class Env(
|
||||||
scheduler.message(5 minutes) {
|
scheduler.message(5 minutes) {
|
||||||
tournamentScheduler -> actorApi.ScheduleNow
|
tournamentScheduler -> actorApi.ScheduleNow
|
||||||
}
|
}
|
||||||
tournamentScheduler ! actorApi.ScheduleNow
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private[tournament] lazy val tournamentColl = db(CollectionTournament)
|
private[tournament] lazy val tournamentColl = db(CollectionTournament)
|
||||||
|
|
Loading…
Reference in New Issue