mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-25 00:57:42 +00:00
chore(common/models): minor tweaks per review
This commit is contained in:
parent
d97b1eba3c
commit
e347aeabfe
4 changed files with 6 additions and 10 deletions
|
|
@ -1,4 +1 @@
|
|||
The presence of this file tells CI to use the new builder_ style parameters for build.sh.
|
||||
|
||||
Once all branches for 16.0+ are updated to merge the chore/web/more-script-updates branch, then we
|
||||
can remove this file and the corresponding bash test branches in CI.
|
||||
The presence of this file tells CI to use the new builder_ style parameters for build.sh and unit_tests/test.sh.
|
||||
|
|
@ -81,9 +81,7 @@ fi
|
|||
|
||||
# A nice, extensible method for -clean operations. Add to this as necessary.
|
||||
do_clean() {
|
||||
if [ -d $LMLAYER_OUTPUT ]; then
|
||||
rm -rf "$LMLAYER_OUTPUT"
|
||||
fi
|
||||
rm -rf "$LMLAYER_OUTPUT"
|
||||
}
|
||||
|
||||
CLEANED=
|
||||
|
|
|
|||
|
|
@ -7,10 +7,9 @@ THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BA
|
|||
|
||||
. "$KEYMAN_ROOT/resources/build/build-utils-ci.inc.sh"
|
||||
. "$KEYMAN_ROOT/resources/shellHelperFunctions.sh"
|
||||
SCRIPT_ROOT="$(dirname "$THIS_SCRIPT")"
|
||||
|
||||
# This script runs from its own folder
|
||||
cd "$SCRIPT_ROOT"
|
||||
cd "$THIS_SCRIPT_PATH"
|
||||
|
||||
################################ Main script ################################
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,9 @@ _builder_failure_trap() {
|
|||
|
||||
builder_finish_action failure $action $target
|
||||
|
||||
# Ensure that the exit code propagates fully.
|
||||
# Make 100% sure that the exit code chains fully.
|
||||
# Without this, nested scripts have failed to chain errors from npm calls past the script
|
||||
# that directly executed the failed npm command.
|
||||
exit $trappedExitCode
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue