package eliom

  1. Overview
  2. Docs
Advanced Client/server Web and mobile framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

10.2.0.tar.gz
md5=089b68d5bac8dfae1116923f6d95b39c
sha512=b4828b57d963d217ca0efd871b1c0b3f8816c7971825eb49d0dc06dbd91004fc659f83f9121d849ab8de47560941d07b2b9c1838b3387e7c1a4d3d6b9058936b

doc/eliom.ocamlbuild/Ocamlbuild_eliom/Make/index.html

Module Ocamlbuild_eliom.MakeSource

Parameters

module _ : ELIOM

Signature

Sourceval dispatcher : ?oasis_executables:Ocamlbuild_plugin.Pathname.t list -> Ocamlbuild_plugin.hook -> unit

The main dispatcher

It calls Ocamlbuild_js_of_ocaml.dispatcher first, with the same parameters, and then initialize the plugin for eliom.

The dispatcher should be used with Ocamlbuild_plugin.dispatch as: Ocamlbuild_plugin.dispatch Ocamlbuild_eliom.dispatcher or if you use oasis it would look like: Ocamlbuild_plugin.dispatch (fun hook -> dispatch_default hook; Ocamlbuild_js_of_ocaml.dispatcher ~oasis_executables:["src/yourprogram.byte"] hook; )

?oasis_executables is the paths of the executables (having the .byte extension) you want to compile as a javascript executable. The former executables are still compiled.

Side note: Ocamlbuild_plugin.dispatch should be used only once as it record only one function for an ocamlbuild module.

OCaml

Innovation. Community. Security.