Skip to content

Commit

Permalink
automate stockfish installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 9, 2014
1 parent 88da67a commit d6cc778
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ data/
dist/
todos/
node_modules/
local/

cljs/*/out
cljs/*/repl
Expand Down
14 changes: 14 additions & 0 deletions bin/install-stockfish
Original file line number Diff line number Diff line change
@@ -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 ../..
3 changes: 2 additions & 1 deletion bin/prod/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion modules/tournament/src/main/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ final class Env(
scheduler.message(5 minutes) {
tournamentScheduler -> actorApi.ScheduleNow
}
tournamentScheduler ! actorApi.ScheduleNow
}

private[tournament] lazy val tournamentColl = db(CollectionTournament)
Expand Down

0 comments on commit d6cc778

Please sign in to comment.