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 (deprecated)"
17description: """
18Deprecated in favor of the built-in mechanism in Dune.
19
20An Ocamlbuild plugin that turns directories tagged with "namespace" into a
21nested module hierarchy. Each directory becomes a module. Filenames become
22scoped, so you can have the same filename in multiple directories. So, if you
23have
24
25 server
26 |-- foo.ml
27 +-- bar.ml
28 client
29 |-- foo.ml
30 |-- bar.ml
31 |-- ui
32 | +-- reactive.ml
33 +-- client.ml
34
35It is as if you had written
36
37 module Server =
38 struct
39 module Foo = (* server/foo.ml *)
40 module Bar = (* server/bar.ml *)
41 end
42
43 module Client =
44 struct
45 module Foo = (* client/foo.ml *)
46 module Bar = (* client/bar.ml *)
47 module Ui =
48 struct
49 module Reactive = (* client/ui/reactive.ml *)
50 end
51
52 include (* client/client.ml *)
53 end"""
54flags: light-uninstall
55url {
56 src: "https://github.com/aantron/namespaces/archive/0.5.1.tar.gz"
57 checksum: [
58 "sha256=d84ee62a78b5f7f97c6976e0823aaf9ddc54825681b18e481d5426652ab0ffdb"
59 "md5=0012771f63a3559e4f712632c0943258"
60 ]
61}