JAL-3210 Ensure skip transpile errors flag is 'false' when channel is RELEASE or...
authorsoares <bsoares@dundee.ac.uk>
Tue, 7 Jan 2020 13:15:52 +0000 (13:15 +0000)
committersoares <bsoares@dundee.ac.uk>
Tue, 7 Jan 2020 13:15:52 +0000 (13:15 +0000)
build.gradle

index b461247..5190968 100644 (file)
@@ -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]*)$/: