Commits

camlspotter committed 24d1fca

oasis update

Comments (0)

Files changed (3)

opam/template/descr

+OCamlSpotter - OCaml source browsing
+OCamlSpotter is a tool for OCaml source code browsing. 
+
+* You can search the definitions of names of values, functions, data types and modules.
+* Emacs and Vim helpers help your browsing via editors.
+* Definition search traverses module aliases and functor applications: if module M = N, OCamlSpotter automatically seeks the definition of M.x in N. Very helpful in the modern OCaml programming with lots of modules.
+
+OCamlSpotter 2.x uses \*.cmt and \*.cmti files created by OCaml compiler 4.00.0 or newer with -bin-annot option.
+
+Unlike OCamlSpotter 1.x, OCamlSpotter 2.x is a standalone application. You NO LONGER need compiler patching. Just make, make install, and configure ocamlspot.el.
+
+In OPAM, ocamlspot.el and ocamlspot.vim is %{lib%}/ocamlspot .

opam/template/opam

+opam-version: "1"
+maintainer: "jun.furuse@gmail.com"
+build: [
+  ["%{make}%" "all" "opt" "install" "BINDIR=%{bin}%" "EMACSDIR=%{lib}%/ocamlspot"]
+  ["cp" "ocamlspot.vim" "%{lib}%/ocamlspot"]
+]
+remove: [
+  ["%{make}%" "uninstall" "BINDIR=%{bin}%"]
+  ["rm" "-rf" "%{lib}%/ocamlspot"]
+]
+(* It is known to work with 4.00.1+dev3 too *)
+ocaml-version: [>= "4.00.0"]
+let foo = 12345
+let bar = this_is_unbound