mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
This sets us up to run all common/ and resources/ tests from a single script, common/build.sh. This test will be run on each platform for all changes made in common/ or resources/. Also renamed files and paths for consistency in resources/ and updated tests accordingly.
28 lines
727 B
Bash
Executable file
28 lines
727 B
Bash
Executable file
#!/usr/bin/env bash
|
|
## 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
|
|
|
|
if [[ $BUILDER_OS != linux ]]; then
|
|
builder_echo grey "Platform is not linux; skipping common/linux"
|
|
exit 0
|
|
fi
|
|
|
|
#
|
|
# TODO: when we have linux-specific tests, add them here
|
|
# as child modules
|
|
#
|
|
|
|
builder_describe "Keyman common Linux modules" \
|
|
clean \
|
|
configure \
|
|
build \
|
|
test
|
|
|
|
builder_parse "$@"
|
|
|
|
#-------------------------------------------------------------------------------------------------------------------
|
|
|
|
builder_run_child_actions clean configure build test
|