1. camlspotter
  2. ocamlspot


camlspotter  committed 8832e6f Merge


  • Participants
  • Parent commits a41003b, 24d1fca
  • Branches default

Comments (0)

Files changed (4)

File opam/ocamlspot.

View file
-archive: "https://bitbucket.org/camlspotter/ocamlspot/get/opam-"
-checksum: "131eba551179264b3182e17bf859a18f"
+archive: https://bitbucket.org/camlspotter/ocaml-indent/get/

File opam/template/descr

View file
+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

View file
+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"]

File tests/partial.ml

View file
+let foo = 12345
+let bar = this_is_unbound