From b077bc05cf37860f39b16665dfe3140e470b188b Mon Sep 17 00:00:00 2001 From: soares Date: Tue, 7 Jan 2020 13:15:52 +0000 Subject: [PATCH] JAL-3210 Ensure skip transpile errors flag is 'false' when channel is RELEASE or TEST-RELEASE --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index b461247..5190968 100644 --- a/build.gradle +++ b/build.gradle @@ -143,6 +143,11 @@ ext { getdown_app_dir = getdown_app_dir_release buildProperties = string("${resourceDir}/${build_properties_file}") reportRsyncCommand = true + // Don't ignore transpile errors for release build + if (jalviewjs_ignore_transpile_errors.equals("true")) { + jalviewjs_ignore_transpile_errors = "false" + println("Setting jalviewjs_ignore_transpile_errors to 'false'") + } break case "ARCHIVE": @@ -194,6 +199,11 @@ ext { getdown_app_dir = getdown_app_dir_alt buildProperties = string("${resourceDir}/${build_properties_file}") reportRsyncCommand = true + // Don't ignore transpile errors for release build + if (jalviewjs_ignore_transpile_errors.equals("true")) { + jalviewjs_ignore_transpile_errors = "false" + println("Setting jalviewjs_ignore_transpile_errors to 'false'") + } break case ~/^SCRATCH(|-[-\w]*)$/: -- 1.7.10.2