mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 03:15:33 +00:00
maint(developer): run platform specific scripts only on that platform
This commit is contained in:
parent
3a8a823c63
commit
f13270275f
2 changed files with 11 additions and 1 deletions
|
|
@ -39,6 +39,11 @@ function build_developer_action() {
|
|||
builder_echo end "build developer" success "Finished building Keyman Developer"
|
||||
}
|
||||
|
||||
if is_windows; then
|
||||
builder_echo error "This script is intended to be run on Linux or macOS only."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if builder_has_action all; then
|
||||
developer_install_dependencies_on_linux_action
|
||||
|
||||
|
|
@ -52,5 +57,5 @@ else
|
|||
set_variables_for_nvm
|
||||
set_variables_for_emscripten
|
||||
|
||||
builder_run_action build build_developer_action
|
||||
builder_run_action build build_developer_action
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ function publish_sentry_action() {
|
|||
builder_echo end "publish sentry" success "Finished publishing debug information files to Sentry"
|
||||
}
|
||||
|
||||
if ! is_windows; then
|
||||
builder_echo error "This script is intended to be run on Windows only."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if builder_has_action all; then
|
||||
build_developer_action
|
||||
publish_sentry_action
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue