mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
- add `builder_is_windows`, `builder_is_macos` and `builder_is_linux` functions - add/move `BUILDER_OS` env variable to `resources/builder.inc.sh` - use the new functions and env variable Fixes: #14109 Test-bot: skip
20 lines
465 B
Bash
Executable file
20 lines
465 B
Bash
Executable file
#! /usr/bin/env bash
|
|
#
|
|
# CI script to kill BrowserStack testing tunnel (Windows only)
|
|
#
|
|
|
|
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
|
|
|
|
|
|
if builder_is_windows; then
|
|
# BrowserStackLocal may not exist, so always pass
|
|
taskkill //f //im BrowserStackLocal.exe || true
|
|
fi
|
|
|
|
exit 0
|