Plain Markdown support. Directory support.
* 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.
This commit is contained in:
11
build.xml
11
build.xml
@ -1,13 +1,20 @@
|
||||
<project name="Jonathan's Literate Programming" basedir="." default="release">
|
||||
|
||||
<import file="jdb-build-1.6.xml"/>
|
||||
<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 file="${basedir}/jlp" todir="${release.dir}"/>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user