this repo has no description
1opam-version: "2.0"
2maintainer: "Anton Bachin <antonbachin@yahoo.com>"
3authors: "Anton Bachin <antonbachin@yahoo.com>"
4homepage: "https://github.com/aantron/namespaces"
5bug-reports: "https://github.com/aantron/namespaces/issues"
6dev-repo: "git+https://github.com/aantron/namespaces.git"
7license: "BSD-3-Clause"
8build: [make "build"]
9install: [make "install"]
10remove: ["ocamlfind" "remove" "namespaces"]
11depends: [
12 "ocaml" {>= "4.02"}
13 "ocamlfind" {build}
14 "ocamlbuild" {build}
15]
16synopsis: "Turn directories into OCaml modules"
17description: """
18An Ocamlbuild plugin that turns directories tagged with "namespace" into a
19module hierarchy. File names become scoped, so you can have the same filename in
20multiple directories. So, if you have
21
22 server
23 |-- foo.ml
24 +-- bar.ml
25 client
26 |-- foo.ml
27 |-- bar.ml
28 |-- ui
29 | +-- reactive.ml
30 +-- client.ml
31
32It is as if you had written
33
34 module Server =
35 struct
36 module Foo = (* server/foo.ml *)
37 module Bar = (* server/bar.ml *)
38 end
39
40 module Client =
41 struct
42 module Foo = (* client/foo.ml *)
43 module Bar = (* client/bar.ml *)
44 module Ui =
45 struct
46 module Reactive = (* client/ui/reactive.ml *)
47 end
48
49 include (* client/client.ml *)
50 end"""
51flags: light-uninstall
52url {
53 src: "https://github.com/aantron/namespaces/archive/0.5.tar.gz"
54 checksum: [
55 "sha256=545273995bd88db10ee4d6e5f5a9dc9746dc36e9af8f18f53df9ed0b39779e49"
56 "md5=75f2052cef90f22617e29d4e22928f4f"
57 ]
58}