Commit 5cae7968 authored by MARCHE Claude's avatar MARCHE Claude
Browse files

why3session html: output file is now why3session.html

parent ba9543a2
* marks an incompatible change
* file generated by "why3session html f.mlw" is now
"f/why3session.html" and not "f/f.html"
* renamed array.ArraySorted -> array.IntArraySorted
array.ArraySorted is now generic, with type and order relation parameters
......@@ -458,10 +458,10 @@ gallery::
why3session html $$x; \
echo "exporting $$f"; \
mkdir -p $(GALLERYDIR)/$$f; \
cp examples/$$f.mlw examples/$$f/$$f.html $(GALLERYDIR)/$$f/; \
cp examples/$$f.mlw examples/$$f/why3session.html $(GALLERYDIR)/$$f/; \
rm -f $(GALLERYDIR)/$$f/$$; \
cd examples/; \
zip -r $(GALLERYDIR)/$$f/$$ $$f.mlw $$f/$$f.html $$f; \
zip -r $(GALLERYDIR)/$$f/$$ $$f.mlw $$f; \
cd ..; \
......@@ -475,10 +475,10 @@ gallery::
mkdir -p $(GALLERYDIR)/$$f; \
if test -f examples/$$f.mlw; then cp examples/$$f.mlw $(GALLERYDIR)/$$f/; fi; \
if test -f examples/$$f.why; then cp examples/$$f.why $(GALLERYDIR)/$$f/; fi; \
cp examples/$$f/$$f.html $(GALLERYDIR)/$$f/; \
cp examples/$$f/why3session.html $(GALLERYDIR)/$$f/; \
rm -f $(GALLERYDIR)/$$f/$$; \
cd examples/; \
zip -r $(GALLERYDIR)/$$f/$$ $$f.mlw $$f/$$f.html $$f
zip -r $(GALLERYDIR)/$$f/$$ $$f.mlw $$f
# XML DTD validation
......@@ -844,6 +844,10 @@ This command produces a summary of the proof session in HTML syntax.
There are three styles of output: `table', `simpletree', and
`jstree'. The default is `table'.
The file generated is named \texttt{why3session.html} and is written
in the session directory by default (see option \texttt{-o} to
override this default).
......@@ -78,7 +78,7 @@ let run_file (context : context) print_session fname =
let basename = Filename.basename project_dir in
let cout =
if output_dir = "-" then stdout else
open_out (Filename.concat output_dir (basename^".html"))
open_out (Filename.concat output_dir ("why3session.html"))
let fmt = formatter_of_out_channel cout in
if !opt_context
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment