spiegel-keyman/resources/build/test/dependencies/error/app/build.sh
Marc Durdin 74f9276695 chore(common): run common and resources tests
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.
2023-04-28 14:07:34 +07:00

25 lines
622 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
cd "$THIS_SCRIPT_PATH"
# Test builder_describe_outputs and dependencies
builder_describe "app test module" \
"@../error error" \
error
builder_parse "$@"
if builder_start_action error:project; then
echo " ... doing the 'error' action for 'app'; we shouldn't have gotten here"
echo " ... because dependencies/error should have failed"
exit 99
fi