package ortac-wrapper
Wrapper plugin for Ortac
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.7.2.tar.gz
md5=6e521befae9a62b50eab08b641caaee8
sha512=5cd4a6b1c8745c19275d2a8f4c95427779d16b9180f1de075e48f5090208ad0d731fec1ba9426b2b69715679d4e144ebffda8e8473fd0e5db7e5db9fdbcde0ca
doc/src/ortac-wrapper.plugin/ortac_wrapper.ml.html
Source file ortac_wrapper.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
open Cmdliner open Registration (* reexpose Generate module as it is used by the monolith plugin for example *) module Generate = Generate module Plugin : sig val cmd : unit Cmd.t end = struct let main input output () = let fmt = get_out_formatter output in try Generate.generate input fmt with Gospel.Warnings.Error e -> Fmt.epr "%a@." Gospel.Warnings.pp e; exit 1 let info = Cmd.info "wrapper" ~doc: "Wrap module functions with assertions to check their specifications." let term = Term.(const main $ ocaml_file $ output_file $ setup_log) let cmd = Cmd.v info term end let () = register Plugin.cmd
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>