mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-16 05:39:24 +00:00
Note: there is a bit of potential confusion about the difference between /resources/builder.inc.sh (the full implementation for builder scripts), and /resources/build/builder.inc.sh (the source script that builder scripts should always use). This allows us to make assumptions that will always be true for builder scripts that may not be true for other scripts, such as setting base folder.
29 lines
711 B
Bash
Executable file
29 lines
711 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/builder.inc.sh"
|
|
# END STANDARD BUILD SCRIPT INCLUDE
|
|
|
|
# Test builder_describe_outputs and dependencies
|
|
|
|
builder_describe "library test module" \
|
|
configure \
|
|
build
|
|
|
|
builder_parse "$@"
|
|
|
|
builder_describe_outputs \
|
|
configure:project out.configure \
|
|
build:project out.build
|
|
|
|
if builder_start_action configure:project; then
|
|
echo " ... doing the 'configure' action for 'library'"
|
|
exit 22
|
|
fi
|
|
|
|
if builder_start_action build:project; then
|
|
echo " ... doing the 'build' action for 'library'"
|
|
exit 22
|
|
fi
|