Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add Running "remove:modules" (remove) task >> 0 paths cleaned.

Benjamin581dc0e06f9d
diff --git a/config.sh b/config.sh
index 910c138fd..42d73e6b1 100644
--- a/config.sh
+++ b/config.sh
@@ -14,6 +14,11 @@
echo "ERROR: \"grunt distclean\" failed" &>2
exit 1
fi
+ echo "relocation node_module dependencies"
+ if ! grunt update ; then
+ echo "ERROR: \"grunt update\" failed" &>2
+ exit 1
+ fi
echo "Fetching GetCapabilities"
if ! grunt fetch ; then
echo "ERROR: \"grunt fetch\" failed" &>2
@@ -23,4 +28,4 @@
if ! grunt config ; then
echo "ERROR: \"grunt config\" failed" &>2
exit 1
- fi
\ No newline at end of file
+ fi
diff --git a/master.sh b/master.sh
index 13820ba29..42601aa74 100644
--- a/master.sh
+++ b/master.sh
@@ -14,6 +14,11 @@
echo "ERROR: \"grunt distclean\" failed" &>2
exit 1
fi
+ echo "relocation node_module dependencies"
+ if ! grunt update ; then
+ echo "ERROR: \"grunt update\" failed" &>2
+ exit 1
+ fi
echo "Generating build"
if ! grunt build ; then
echo "ERROR: \"grunt build\" failed" &>2
@@ -30,4 +35,4 @@
if ! grunt test ; then
echo "ERROR: \"grunt test\" failed" &>2
exit 1
- fi
\ No newline at end of file
+ fi
diff --git a/site_build.sh b/site_build.sh
index 06cc66fcc..b2f868cf1 100644
--- a/site_build.sh
+++ b/site_build.sh
@@ -9,10 +9,27 @@
tar xf worldview-config.tar.bz2
)
echo "installing npm dependencies"
- npm install
+ if ! npm install ; then
+ echo "ERROR: \"npm install\" failed" &>2
+ exit 1
+ fi
echo "setting up Python environment"
- ./wv-python
+ if ! ./wv-python ; then
+ echo "ERROR: \"./wv-python\" failed" &>2
+ exit 1
+ fi
+ echo "relocation node_module dependencies"
+ if ! grunt update ; then
+ echo "ERROR: \"grunt update\" failed" &>2
+ exit 1
+ fi
echo "Generating site via 'grunt site'"
- grunt site
+ if ! grunt site ; then
+ echo "ERROR: \"grunt site\" failed" &>2
+ exit 1
+ fi
echo "Generating rpm via 'grunt rpm-only'"
- grunt rpm-only
\ No newline at end of file
+ if ! grunt rpm-only ; then
+ echo "ERROR: \"grunt rpm-only\" failed" &>2
+ exit 1
+ fi