18 lines
353 B
Bash
18 lines
353 B
Bash
#!/bin/sh
|
|
|
|
PLAY_VERSION="2.1.2-RC1"
|
|
PROD_URL="http://en.lichess.org"
|
|
JVM_OPTIONS="-Dhttp.port=9000 -Dscalac.patmat.analysisBudget=off"
|
|
|
|
lilalog () {
|
|
echo -e "\x1b[7m[lila]\x1b[0m $1"
|
|
}
|
|
|
|
curl_prod () {
|
|
lilalog "Test $PROD_URL"
|
|
curl -sL -w "%{http_code}" -o /dev/null "$PROD_URL"
|
|
}
|
|
|
|
# load local config
|
|
[ -f bin/lilarc.local ] && . bin/lilarc.local
|