1. camlspotter
  2. ocamlspot

Commits

camlspotter  committed 93d46ba

added opam

  • Participants
  • Parent commits e1f7404
  • Branches default

Comments (0)

Files changed (5)

File Makefile

View file
  • Ignore whitespace
 	  cd $(EMACSDIR); $(EMACS) --batch --eval '$(COMPILECMD)'; \
 	fi
 
+simple-install:
+	@echo "Installing in $(EMACSDIR)..."
+	if test -d $(EMACSDIR); then : ; else mkdir -p $(EMACSDIR); fi
+	cp $(ELISPS) $(EMACSDIR)
+	if [ -z "$(NOCOMPILE)" ]; then \
+	  cd $(EMACSDIR); $(EMACS) --batch --eval '$(COMPILECMD)'; \
+	fi
+
 install installopt::
 	cp ocamlspot $(BINDIR)/ocamlspot$(EXE)
 	if test -f ocamlspot.opt; \
 	# The following is optional
 	# $(MAKE) install-emacs-lisp
 
+uninstall::
+	rm -f $(BINDIR)/ocamlspot$(EXE)
+	rm -f $(BINDIR)/ocamlspot.opt$(EXE)
+
 test: ocamlspot ocamlspot.cmo
 	tests/auto-test.pl ocamlspot.ml treeset.ml xset.ml 
 

File opam/ocamlspot.4.00.0.2.0.1/descr

View file
  • Ignore whitespace
+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.

File opam/ocamlspot.4.00.0.2.0.1/opam

View file
  • Ignore whitespace
+opam-version: "1"
+maintainer: "jun.furuse@gmail.com"
+build: [
+  ["%{make}%" "all" "opt" "install" "BINDIR=%{bin}%"]
+]
+remove: [
+  ["%{make}%" "uninstall" "BINDIR=%{bin}%"]
+]
+depends: ["compiler-libs"]
+ocaml-version: [= "4.00.0"]

File opam/ocamlspot.4.00.0.2.0.1/url

View file
  • Ignore whitespace
+archive: "https://bitbucket.org/camlspotter/ocamlspot/get/ocaml-4.00.0.tar.gz"

File spot.ml

View file
  • Ignore whitespace
 
 let magic_number = "OCamlSpot"
 let ocaml_version = "4.00.0"
-let version = "2.0.0"
+let version = "2.0.1"
 
 module Kind = struct
   type t =