Interactive interface for browsing global, full-resolution satellite imagery
added error-listening to deploy scripts
Benjamin7bbcbd28047a
diff --git a/config.sh b/config.shindex 231ee642c..910c138fd 100644--- a/config.sh+++ b/config.sh@@ -1,11 +1,26 @@#!/bin/bashecho "installing npm dependencies"- npm install+ if ! npm install ; then+ echo "ERROR: \"npm install\" failed" &>2+ exit 1+ fiecho "setting up Python environment"- ./wv-python+ if ! ./wv-python ; then+ echo "ERROR: \"./wv-python\" failed" &>2+ exit 1+ fiecho "Cleaning dist"- grunt distclean+ if ! grunt distclean ; then+ echo "ERROR: \"grunt distclean\" failed" &>2+ exit 1+ fiecho "Fetching GetCapabilities"- grunt fetch+ if ! grunt fetch ; then+ echo "ERROR: \"grunt fetch\" failed" &>2+ exit 1+ fiecho "Generating Configuration"- grunt config+ if ! grunt config ; then+ echo "ERROR: \"grunt config\" failed" &>2+ exit 1+ fi\ No newline at end of filediff --git a/master.sh b/master.shindex 820ac1dd9..13820ba29 100644--- a/master.sh+++ b/master.sh@@ -1,14 +1,33 @@-#!/bin/bash+#!/bin/bashecho "installing npm dependencies"- npm install+ if ! npm install ; then+ echo "ERROR: \"npm install\" failed" &>2+ exit 1+ fiecho "setting up Python environment"- ./wv-python+ if ! ./wv-python ; then+ echo "ERROR: \"./wv-python\" failed" &>2+ exit 1+ fiecho "Cleaning dist"- grunt distclean+ if ! grunt distclean ; then+ echo "ERROR: \"grunt distclean\" failed" &>2+ exit 1+ fiecho "Generating build"- grunt build+ if ! grunt build ; then+ echo "ERROR: \"grunt build\" failed" &>2+ exit 1+ fiecho "starting lint report. Results in lint-results.xml"grunt jshint:report | ./bin/filter-test-report > lint-results.xml- grunt lint+ if ! grunt lint ; then+ echo "ERROR: \"grunt test\" failed" &>2+ exit 1+ fiecho "executing unit tests. Results in test-results.xml"- grunt buster:report | ./bin/filter-test-report > test-results.xml\ No newline at end of file+ grunt buster:report | ./bin/filter-test-report > test-results.xml+ if ! grunt test ; then+ echo "ERROR: \"grunt test\" failed" &>2+ exit 1+ fi\ No newline at end of file