Interactive interface for browsing global, full-resolution satellite imagery
Config build now bombs on an invalid configuration
Mike McGann3f8b235a4c5c
diff --git a/bin/wv-options-build b/bin/wv-options-buildindex 4a14c3061..3a767ea3f 100755--- a/bin/wv-options-build+++ b/bin/wv-options-build@@ -18,6 +18,8 @@ SRC_DIR="$BASE/options"BUILD_DIR="$BASE/build/options-build"DEST_DIR="$BASE/build/options"+set -e+die() {echo "$PROG: ERROR: $@" >& 2exit 1diff --git a/bin/wv-options-validate b/bin/wv-options-validateindex 997089d0d..2f6635a41 100755--- a/bin/wv-options-validate+++ b/bin/wv-options-validate@@ -75,6 +75,9 @@ for layer_id in wv["layerOrder"]:print "%s: %d error(s), %d warning(s)" % (prog, error_count, warning_count)+if error_count > 0:+ sys.exit(1)+json_options = {}json_options["indent"] = 4json_options["separators"] = (',', ': ')