mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 02: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.
23 lines
955 B
Bash
Executable file
23 lines
955 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
|
|
|
|
builder_use_color true
|
|
builder_echo "${COLOR_RED}COLOR_RED${COLOR_RESET}"
|
|
builder_echo "${COLOR_GREEN}COLOR_GREEN${COLOR_RESET}"
|
|
builder_echo "${COLOR_YELLOW}COLOR_YELLOW${COLOR_RESET}"
|
|
builder_echo "${COLOR_BLUE}COLOR_BLUE${COLOR_RESET}"
|
|
builder_echo "${COLOR_PURPLE}COLOR_PURPLE${COLOR_RESET}"
|
|
builder_echo "${COLOR_TEAL}COLOR_TEAL${COLOR_RESET}"
|
|
builder_echo "${COLOR_WHITE}COLOR_WHITE${COLOR_RESET}"
|
|
builder_echo "${COLOR_BRIGHT_WHITE}COLOR_BRIGHT_WHITE${COLOR_RESET}"
|
|
builder_echo "${COLOR_GREY}COLOR_GREY${COLOR_RESET}"
|
|
builder_echo "${COLOR_RESET}COLOR_RESET${COLOR_RESET}"
|
|
builder_echo "${BUILDER_BOLD}BUILDER_BOLD${COLOR_RESET}"
|
|
builder_echo "${HEADING_SETMARK}HEADING_SETMARK${COLOR_RESET}"
|