opam-version: "2.0" maintainer: "Anton Bachin " authors: "Anton Bachin " homepage: "https://github.com/aantron/namespaces" bug-reports: "https://github.com/aantron/namespaces/issues" dev-repo: "git+https://github.com/aantron/namespaces.git" license: "BSD-3-Clause" build: [make "build"] install: [make "install"] remove: ["ocamlfind" "remove" "namespaces"] depends: [ "ocaml" {>= "4.02"} "ocamlfind" {build} "ocamlbuild" {build} ] synopsis: "Turn directories into OCaml modules (deprecated)" description: """ Deprecated in favor of the built-in mechanism in Dune. An Ocamlbuild plugin that turns directories tagged with "namespace" into a nested module hierarchy. Each directory becomes a module. Filenames become scoped, so you can have the same filename in multiple directories. So, if you have server |-- foo.ml +-- bar.ml client |-- foo.ml |-- bar.ml |-- ui | +-- reactive.ml +-- client.ml It is as if you had written module Server = struct module Foo = (* server/foo.ml *) module Bar = (* server/bar.ml *) end module Client = struct module Foo = (* client/foo.ml *) module Bar = (* client/bar.ml *) module Ui = struct module Reactive = (* client/ui/reactive.ml *) end include (* client/client.ml *) end""" flags: light-uninstall url { src: "https://github.com/aantron/namespaces/archive/0.5.1.tar.gz" checksum: [ "sha256=d84ee62a78b5f7f97c6976e0823aaf9ddc54825681b18e481d5426652ab0ffdb" "md5=0012771f63a3559e4f712632c0943258" ] }