Interactive interface for browsing global, full-resolution satellite imagery
Added create-nightly script
Mike McGann6f4de8189b7e
diff --git a/build.xml b/build.xmlindex 27ad5eca8..66a31e16e 100644--- a/build.xml+++ b/build.xml@@ -206,8 +206,11 @@</exec></target>- <target name="dist" depends="clean,web,doc"- description="Generates distribution artifacts">+ <target name="dist" depends="clean,web,doc,artifacts"+ description="Generates distribution artifacts"/>++ <target name="artifacts"+ description="Generates distribution artifacts using existing build dir"><tar destfile="${dist.dir}/worldview.tar.bz2"basedir="${build.dir}" includes="worldview/**"compression="bzip2"/>diff --git a/deploy/create-nightly b/deploy/create-nightlynew file mode 100755index 000000000..5580463ca--- /dev/null+++ b/deploy/create-nightly@@ -0,0 +1,29 @@+#!/bin/bash+#+# NASA Worldview+#+# This code was originally developed at NASA/Goddard Space Flight Center for+# the Earth Science Data and Information System (ESDIS) project.+#+# Copyright (C) 2013 United States Government as represented by the+# Administrator of the National Aeronautics and Space Administration.+# All Rights Reserved.+#++BASEDIR=$(dirname "$0")/..+TODAY=$(date "+%Y.%m.%d")++ant -f $BASEDIR/build.xml clean web doc++sed -i "" -E "s/\.(js|css)\?v=[^\"]+/&-$TODAY/g" \+ $BASEDIR/build/{worldview,worldview-debug}/index.html+sed -i "" -E "s/VERSION = \"[^\"]+/&-$TODAY/g" \+ $BASEDIR/build/worldview-debug/js/Worldview.js+sed -i "" -E "s/VERSION=\"[^\"]+/&-$TODAY/g" \+ $BASEDIR/build/worldview/js/worldview-min.js++ant -f $BASEDIR/build.xml artifacts++++