Interactive interface for browsing global, full-resolution satellite imagery
* Build files for jsdoc documentation
Tilak Joshi94e4d228a72a
diff --git a/build.txt b/build.txtnew file mode 100644index 000000000..13bfb3bd5--- /dev/null+++ b/build.txt@@ -0,0 +1,41 @@+Required Dependencies+=====================++* JSDoc3: https://github.com/jsdoc3/jsdoc++Unpack into ~/local/opt/jsdoc++$ mkdir -p ~/local/opt+$ cd ~/local/opt+$ tar xf ~/Downloads/jsdoc-3.0.1.tar.gz+$ ln -s jsdoc-3.0.1 jsdoc++* JSDoc3 Ant Task: https://github.com/jannon/jsdoc3-ant-task++Clone the repository and build:++$ cd /tmp+$ git clone https://github.com/jannon/jsdoc3-ant-task.git+$ cd jsdoc3-ant-task+$ ant dist+$ mkdir -p ~/local/lib/java/ant+$ cp build/jar/jsdoc3-ant-task-1.0.jar ~/local/lib/java/ant++Targets+=======++To generate documentation in the build/doc directory:++$ ant doc++To generate distribution artifacts in the dist directory:++$ ant dist++To clean up:++$ ant clean++++\ No newline at end of filediff --git a/build.xml b/build.xmlnew file mode 100644index 000000000..e68820f36--- /dev/null+++ b/build.xml@@ -0,0 +1,38 @@+<project name="WorldView" default="dist" basedir=".">+ <description><![CDATA[+WorldView build script+]]>+ </description>++ <property name="build" location="${basedir}/build"/>+ <property name="dist" location="${basedir}/dist"/>+ <property name="doc" location="${build}/worldview-doc"/>+ <property name="src.js" location="${basedir}/js"/>++ <property name="local.lib" location="${user.home}/local/lib"/>+ <property name="local.lib.java" location="${local.lib}/java"/>+ <property name="local.lib.ant" location="${local.lib.java}/ant"/>++ <property name="jsdoc.home" location="${user.home}/local/opt/jsdoc"/>++ <taskdef name="jsdoc" classname="net.jannon.ant.tasks.JsDoc3"+ classpath="${local.lib.ant}/jsdoc3-ant-task-1.0.jar:${jsdoc.home}/lib/js.jar"/>++ <target name="clean" description="deletes build and dist directories">+ <delete dir="${build}"/>+ <delete dir="${dist}"/>+ </target>++ <target name="dist" depends="clean,doc"+ description="generates distribution artifacts">+ <tar destfile="${dist}/worldview-doc.tar.bz2"+ basedir="${build}" includes="worldview-doc/**"+ compression="bzip2"/>+ </target>++ <target name="doc" description="builds documentation">+ <mkdir dir="${doc}"/>+ <jsdoc jsdochome="${jsdoc.home}" to="${doc}" dir="${src.js}"/>+ </target>++</project>\ No newline at end of file