spiegel-keyman/linux/build.sh
Eberhard Beilharz 603c1d6ea0
feat(linux): Add system service to toggle capslock LED
This implements the server side.
2023-05-15 09:13:58 +02:00

29 lines
812 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"
builder_parse "$@"
builder_run_child_actions clean configure build test install uninstall