mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
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.
30 lines
872 B
Bash
Executable file
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
|