forked from OCamlPro/ocp-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ocp-index.opam
42 lines (39 loc) · 1.44 KB
/
ocp-index.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
opam-version: "2.0"
version: "1.3.6"
maintainer: "louis.gesbert@ocamlpro.com"
synopsis:
"Lightweight completion and documentation browsing for OCaml libraries"
description: """
This package includes
* The `ocp-index` library and command-line tool
* `ocp-grep`, a tool that finds uses of a given (qualified) identifier in a source tree
* bindings for emacs and vim (sublime text also [available](https://github.com/whitequark/sublime-ocp-index/))
To automatically configure your editors, install this with package `user-setup`.
"""
authors: [
"Louis Gesbert"
"Gabriel Radanne"
]
homepage: "http://www.typerex.org/ocp-index.html"
bug-reports: "https://github.com/OCamlPro/ocp-index/issues"
license: ["LGPL-2.1-only WITH OCaml-LGPL-linking-exception" "GPL-3.0-only"]
tags: [ "org:ocamlpro" "org:typerex" ]
dev-repo: "git+https://github.com/OCamlPro/ocp-index.git"
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"ocaml" {>= "4.08.0"}
"cppo" {build & >= "1.1.0"}
"dune" {>= "1.0"}
"ocp-indent" {>= "1.4.2"}
"re" {>= "1.9.0"}
"cmdliner" {>= "1.1.0"}
"odoc" {with-doc}
]
post-messages:
"This package requires additional configuration for use in editors. Either install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path \"%{prefix}%/share/emacs/site-lisp\")
(require 'ocp-index)
* for Vim, add the following line to ~/.vimrc:
set rtp+=%{share}%/ocp-index/vim
" {success & !user-setup:installed}