leostera/rules_reason

Add odoc rules

Open

#6 geöffnet am 8. Okt. 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1 Fork)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (19 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

ocaml_module(
  name = "module_srcs",
  srcs = glob(["*.ml", "*.mli"]),
)

odoc_unit(
  name = "docs.odoc",
  srcs = [ ":module_srcs" ],
)

odoc_html(
  name = "docs.html",
  srcs = [ ":docs.odoc"]
)

Alternatively

ocaml_module(
  name = "module_srcs",
  srcs = glob(["*.ml", "*.mli"]),
)

odoc(
 name = "docs",
 srcs = [ ":module_srcs" ],
)

Contributor Guide