1f9b6cc66d
* Upgraded build common to version 1.9. * Updated the release target in build.xml to take advantage of the new features of common build 1.9. The release target now copies over the libs and release resources. * JLPMain now recognises directories in it's input list. It will add all the files in a given directory to the input list (including files in abitrarily nested subdirectories). * Abstracted the parser behavior further. Processor no longer needs to know about Parboiled ParseRunners and can use non-Parboiled parsers. * Created the JLPParser interface to support the new parser abstraction. * JLPPegParser implements the new interface trivially by creating it's own parse runner and calling it with the input given. * Added MarkdownParser, which does not actually parse the file, just creates the bare-bones SourceFile object needed for the generator to emit the Markdown contents.
21 lines
669 B
XML
21 lines
669 B
XML
<project name="Jonathan's Literate Programming" basedir="." default="release">
|
|
|
|
<import file="jdb-build-1.9.xml"/>
|
|
<property environment="env"/>
|
|
<property file="project.properties"/>
|
|
|
|
<target name="release" depends="build">
|
|
<mkdir dir="${release.dir}/lib"/>
|
|
<copy file="${build.dir}/${name}-${version}.${build.number}.jar"
|
|
tofile="${release.dir}/${name}-${version}.jar"/>
|
|
<copy todir="${release.dir}">
|
|
<fileset dir="${resources.dir}/release"/>
|
|
</copy>
|
|
<copy todir="${release.dir}/lib">
|
|
<fileset dir="${build.dir}/lib/runtime/jar"/>
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</project>
|