spiegel-keyman/linux/build.sh
Eberhard Beilharz d20cc6978c
chore(linux): Add support for --no-integration flag to build files
This allows to use the `linux/build.sh` file to specify the
`--no-integration` flag which makes it easier to specify jobs on CI
because it then doesn't need to know all subprojects.
2023-07-06 12:39:21 +02:00

30 lines
872 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
## START STANDARD BUILD SCRIPT INCLUDE
# adjust relative paths as necessary
THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
. "${THIS_SCRIPT%/*}/../resources/build/build-utils.sh"
## END STANDARD BUILD SCRIPT INCLUDE
################################ Main script ################################
cd "$THIS_SCRIPT_PATH"
builder_describe \
"Build Keyman for Linux." \
":config=keyman-config keyman-config" \
":engine=ibus-keyman ibus-keyman" \
":service=keyman-system-service keyman-system-service" \
"clean" \
"configure" \
"build" \
"test" \
"install install artifacts" \
"uninstall uninstall artifacts" \
"--no-integration+ don't run integration tests"
builder_parse "$@"
builder_run_child_actions clean configure build test install uninstall