Add another package to odoc tests

This commit is contained in:
Rudi Grinberg 2018-03-22 14:01:14 +08:00
parent f8225b1e7b
commit 2ea04b706b
3 changed files with 4 additions and 7 deletions

View File

@ -12,12 +12,6 @@
(modes (byte))
(public_name foo.byte)))
(executables
((names (bar))
(modules (bar))
(public_names (bar))
(libraries (foo))))
(alias
((name runtest)
(deps (_doc/_html/index.html))

View File

@ -1,4 +1,7 @@
$ $JBUILDER build @doc -j1 --display short --root .
odoc _doc/_odoc/pkg/bar/page-index.odoc
odoc _doc/_html/bar/index.html
odoc _doc/_html/odoc.css
ocamldep foo.ml.d
ocamlc .foo.objs/foo.{cmi,cmo,cmt}
odoc _doc/_odoc/lib/foo/foo.odoc
@ -8,7 +11,6 @@
odoc _doc/_html/foo/Foo/.jbuilder-keep,_doc/_html/foo/Foo/index.html
odoc _doc/_odoc/pkg/foo/page-index.odoc
odoc _doc/_html/foo/index.html
odoc _doc/_html/odoc.css
odoc _doc/_html/foo/Foo_byte/.jbuilder-keep,_doc/_html/foo/Foo_byte/index.html
$ $JBUILDER runtest -j1 --display short --root .
<!DOCTYPE html>
@ -23,6 +25,7 @@
<div class="by-name">
<h2>OCaml package documentation</h2>
<ol>
<li><a href="bar/index.html">bar</a></li>
<li><a href="foo/index.html">foo</a></li>
</ol>
</div>