camlspotter  committed 8832e6f Merge


  • Participants
  • Parent commits a41003b, 24d1fca

Comments (0)

Files changed (4)

File opam/ocamlspot.

-archive: ""
-checksum: "131eba551179264b3182e17bf859a18f"

File 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 .

File opam/template/opam

+opam-version: "1"
+maintainer: ""
+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"]

File tests/

+let foo = 12345
+let bar = this_is_unbound