2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/.ci/build.sh
2024-07-31 08:45:48 +02:00

15 lines
241 B
Bash
Executable File

#!/usr/bin/env bash
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=/dev/null
source "${CI_DIR}/common.sh"
# Build.
cmd=(make all)
if [[ -d build ]]; then
cmd+=(--assume-old=base)
fi
"${cmd[@]}"
# vim: sw=4