mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-18 00:26:41 -05:00
commit
b84141c5f1
3 changed files with 18 additions and 34 deletions
40
_oasis
40
_oasis
|
|
@ -8,7 +8,7 @@ LicenseFile: LICENSE
|
||||||
Plugins: META (0.3), DevFiles (0.3)
|
Plugins: META (0.3), DevFiles (0.3)
|
||||||
OCamlVersion: >= 4.00.1
|
OCamlVersion: >= 4.00.1
|
||||||
BuildTools: ocamlbuild
|
BuildTools: ocamlbuild
|
||||||
AlphaFeatures: compiled_setup_ml
|
AlphaFeatures: compiled_setup_ml, ocamlbuild_more_args
|
||||||
|
|
||||||
Synopsis: A modular standard library focused on data structures.
|
Synopsis: A modular standard library focused on data structures.
|
||||||
Description:
|
Description:
|
||||||
|
|
@ -144,39 +144,13 @@ Document containers
|
||||||
BuildTools+: ocamldoc
|
BuildTools+: ocamldoc
|
||||||
Install: true
|
Install: true
|
||||||
XOCamlbuildPath: .
|
XOCamlbuildPath: .
|
||||||
XOCamlbuildLibraries: containers,containers.string
|
XOCamlbuildExtraArgs:
|
||||||
|
"-docflags '-colorize-code -short-functors -charset utf-8'"
|
||||||
|
XOCamlbuildLibraries:
|
||||||
|
containers, containers.misc,
|
||||||
|
containers.string, containers.advanced,
|
||||||
|
containers.lwt
|
||||||
|
|
||||||
Document containers_misc
|
|
||||||
Title: Containers_misc docs
|
|
||||||
Type: ocamlbuild (0.3)
|
|
||||||
BuildTools+: ocamldoc
|
|
||||||
Install: true
|
|
||||||
XOCamlbuildPath: .
|
|
||||||
XOCamlbuildLibraries: containers.misc
|
|
||||||
|
|
||||||
Document containers_string
|
|
||||||
Title: Containers_string docs
|
|
||||||
Type: ocamlbuild (0.3)
|
|
||||||
BuildTools+: ocamldoc
|
|
||||||
Install: true
|
|
||||||
XOCamlbuildPath: .
|
|
||||||
XOCamlbuildLibraries: containers.string
|
|
||||||
|
|
||||||
Document containers_advanced
|
|
||||||
Title: Containers_advanced docs
|
|
||||||
Type: ocamlbuild (0.3)
|
|
||||||
BuildTools+: ocamldoc
|
|
||||||
Install: true
|
|
||||||
XOCamlbuildPath: .
|
|
||||||
XOCamlbuildLibraries: containers.advanced
|
|
||||||
|
|
||||||
Document containers_lwt
|
|
||||||
Title: Containers_lwt docs
|
|
||||||
Type: ocamlbuild (0.3)
|
|
||||||
BuildTools+: ocamldoc
|
|
||||||
Install: true
|
|
||||||
XOCamlbuildPath: .
|
|
||||||
XOCamlbuildLibraries: containers.lwt
|
|
||||||
|
|
||||||
Executable run_benchs
|
Executable run_benchs
|
||||||
Path: benchs/
|
Path: benchs/
|
||||||
|
|
|
||||||
0
doc/intro.txt
Normal file
0
doc/intro.txt
Normal file
|
|
@ -1,6 +1,8 @@
|
||||||
(* OASIS_START *)
|
(* OASIS_START *)
|
||||||
(* OASIS_STOP *)
|
(* OASIS_STOP *)
|
||||||
|
|
||||||
|
let doc_intro = "doc/intro.txt"
|
||||||
|
|
||||||
open Ocamlbuild_plugin;;
|
open Ocamlbuild_plugin;;
|
||||||
|
|
||||||
dispatch
|
dispatch
|
||||||
|
|
@ -40,7 +42,15 @@ dispatch
|
||||||
let ocaml_major = "OCAML_MAJOR " ^ string_of_int major in
|
let ocaml_major = "OCAML_MAJOR " ^ string_of_int major in
|
||||||
let ocaml_minor = "OCAML_MINOR " ^ string_of_int minor in
|
let ocaml_minor = "OCAML_MINOR " ^ string_of_int minor in
|
||||||
|
|
||||||
flag ["cppo"] & S[A"-D"; A ocaml_major; A"-D"; A ocaml_minor]
|
flag ["cppo"] & S[A"-D"; A ocaml_major; A"-D"; A ocaml_minor] ;
|
||||||
|
|
||||||
|
(* Documentation index *)
|
||||||
|
dep ["ocaml"; "doc"; "extension:html"] & [doc_intro] ;
|
||||||
|
flag ["ocaml"; "doc"; "extension:html"] &
|
||||||
|
(S[A"-t"; A"LILiS user guide";
|
||||||
|
A"-intro"; P doc_intro;
|
||||||
|
]);
|
||||||
|
|
||||||
| _ -> ()
|
| _ -> ()
|
||||||
end;
|
end;
|
||||||
dispatch_default
|
dispatch_default
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue