Skip to content

Commit f272e76

Browse files
Merge pull request #11 from magwas/feature/document_test
Feature/document test
2 parents 3af3281 + 1c6ca76 commit f272e76

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ If you are not using maven, you can use the [jar-with-dependencies](http://searc
4646
-docletpath xml-doclet-1.0.5-jar-with-dependencies.jar \
4747
[Javadoc- and XmlDoclet-Options]
4848

49+
A Makefile target to generate xml from both the production and test code:
50+
51+
52+
javadoc:
53+
mkdir -p target/production target/test
54+
CLASSPATH=$$(echo $$(find ~/.m2/repository/ -name '*.jar'|grep -v jdk14 )|sed 's/ /:/g')\
55+
javadoc -doclet com.github.markusbernhardt.xmldoclet.XmlDoclet -sourcepath src/main/java -d target/production org.rulez.demokracia.PDEngine
56+
CLASSPATH=$$(echo $$(find ~/.m2/repository/ -name '*.jar'|grep -v jdk14 )|sed 's/ /:/g')\
57+
javadoc -doclet com.github.markusbernhardt.xmldoclet.XmlDoclet -sourcepath src/test/java -d target/test org.rulez.demokracia.PDEngine
58+
4959
If you want more control and feel adventurous you could you use this [jar](http://search.maven.org/remotecontent?filepath=com/github/markusbernhardt/xml-doclet/1.0.5/xml-doclet-1.0.5.jar) and provide all required libraries from this [list](DEPENDENCIES.md) on your own.
5060

5161
Options

0 commit comments

Comments
 (0)