Skip to content

Commit

Permalink
Update release target to include generated site.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Sep 12, 2019
1 parent eaf6a6e commit 233427f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
<property name="ver.docs" value="${ver.dir}/docs"/>
<property name="ver.src" value="${ver.dir}/src"/>
<property name="ver.tst" value="${ver.dir}/test"/>
<property name="ver.site" value="${ver.dir}/site"/>
<property name="package.home" value="org/ecoinformatics" />
<property name="cpath" value="${utilities}:${servlet}:${cos}:${xalan}:${xml-apis}:${io}:${xmlp}:${serializer}:${jtidy}:${itext}:${renderer}:${renderer-min}:${jdom}:${junit}:${build.dir}/${name}.jar"/>

Expand All @@ -214,15 +215,13 @@

</target>


<target name="dist" depends="init">
<target name="release" depends="init">
<mkdir dir="${release.dir}"/>
<delete dir="${ver.dir}"/>
<mkdir dir="${ver.dir}"/>
<mkdir dir="${ver.lib}"/>
<mkdir dir="${ver.src}"/>
<mkdir dir="${ver.tst}"/>
<!-- <mkdir dir="${ver.dir}/style"/> -->
<copy file="./build.xml" todir="${ver.dir}"/>
<copy file="./LICENSE" todir="${ver.dir}"/>
<copy file="./README.md" todir="${ver.dir}"/>
Expand Down Expand Up @@ -250,6 +249,15 @@
<exclude name="${datamanager.dir}/**"/>
</fileset>
</copy>
<copy todir="${ver.docs}" filtering="no">
<fileset dir="docs"/>
</copy>
<exec dir="docs" executable="R" resolveexecutable="true">
<arg value="-f build_book.R"/>
</exec>
<copy todir="${ver.site}" filtering="no">
<fileset dir="dist"/>
</copy>

<delete file="${release.dir}/eml-${version}.zip"/>
<zip zipfile="${release.dir}/eml-${version}.zip" basedir="${release.dir}"/>
Expand Down

0 comments on commit 233427f

Please sign in to comment.