spiegel-keyman/linux/build.sh
Eberhard Beilharz 2e12021a74
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-20 09:43:04 +01:00

27 lines
744 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
## START STANDARD BUILD SCRIPT INCLUDE
# adjust relative paths as necessary
THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BASH_SOURCE[0]}")"
. "$(dirname "$THIS_SCRIPT")/../resources/build/build-utils.sh"
## END STANDARD BUILD SCRIPT INCLUDE
################################ Main script ################################
cd "$THIS_SCRIPT_PATH"
builder_describe \
"Build Keyman for Linux." \
":engine=ibus-keyman ibus-keyman" \
"clean" \
"configure" \
"build" \
"test" \
"install install artifacts" \
"uninstall uninstall artifacts"
builder_parse "$@"
builder_run_child_actions clean configure build test install uninstall