Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crawl-git.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
CONFIG_READ="true"

export GAME="crawl-git"
export BINARY_BASE_NAME="$GAME"
CRAWL_BUILD_DIR=$DGL_CONF_HOME/crawl-build
CRAWL_REPOSITORY_DIR=crawl-git-repository
CRAWL_REPO=$DGL_CONF_HOME/crawl-build/$CRAWL_REPOSITORY_DIR
Expand All @@ -18,6 +19,7 @@ export CHROOT_CRAWL_STABLE_GAMEDIR=/var/games
# Path in chroot where the build's data and savedir will be created:
export CHROOT_CRAWL_BASEDIR=/crawl-master
export CHROOT_CRAWL_GAMEDIR=$CHROOT_CRAWL_BASEDIR/$GAME
export CRAWL_GIT_DIR=$CHROOT_CRAWL_BASEDIR

# Build config:
export CRAWL_UGRP=crawl:crawl
Expand Down Expand Up @@ -56,6 +58,10 @@ git-do() {
crawl-repo-do git "$@"
}

query() {
sqlite3 "$VERSIONS_DB"
}


latest-game-hash() {
query <<EOF
Expand Down