Skip to content

Commit

Permalink
add ant target to build releases
Browse files Browse the repository at this point in the history
  • Loading branch information
abythell committed Feb 6, 2015
1 parent f646bca commit 52de893
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2015-02-06 Andrew Bythell abythell@ieee.org

* version 1.3
* return valid string filename after capture (efimovkd)
* support JNA 4.1 (efimovkd)
* removed depreciated functions (efimovkd)
* build releases with 'ant dist'

2014-11-06 Andrew Bythell abythell@ieee.org

* version 1.2
Expand Down
14 changes: 14 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,18 @@
</copy>
</target>

<property name="version" value="1.3"/>

<target depends="jar,javadoc" name="dist">
<jar compress="${jar.compress}" basedir="${src.dir}" jarfile="${dist.dir}/${application.title}-${version}-sources.jar"/>
<jar compress="${jar.compress}" basedir="${test.src.dir}" jarfile="${dist.dir}/${application.title}-${version}-test.jar"/>
<jar compress="${jar.compress}" basedir="${dist.javadoc.dir}" jarfile="${dist.dir}/${application.title}-${version}-javadoc.jar"/>
<move file="${dist.dir}/${application.title}.jar" tofile="${dist.dir}/${application.title}-${version}.jar" />
<delete file="${dist.dir}/README.TXT" />
<copy file="README.md" todir="${dist.dir}" />
<zip destfile="${application.title}-${version}.zip">
<zipfileset dir="${dist.dir}" prefix="${application.title}-${version}" />
</zip>
</target>

</project>

0 comments on commit 52de893

Please sign in to comment.