Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (46 sloc) 1.61 KB
opam-version: "2.0"
maintainer: "contact@ocamlpro.com"
authors: [
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Thomas Gazagnaire <thomas@gazagnaire.org>"
"Jun Furuse"
]
homepage: "http://www.typerex.org/ocp-indent.html"
bug-reports: "https://github.com/OCamlPro/ocp-indent/issues"
license: "LGPL"
tags: ["org:ocamlpro" "org:typerex"]
dev-repo: "git+https://github.com/OCamlPro/ocp-indent.git"
build: [
["./configure" "--prefix" prefix]
[make]
]
depends: [
"ocaml" {< "4.06.0"}
"ocp-build" {build & >= "1.99.6-beta"}
"cmdliner" {< "0.9.8"}
]
post-messages: [
"This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path \"%{share}%/emacs/site-lisp\")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^=\"%{share}%/ocp-indent/vim\"
"
{success & !user-setup:installed}
]
synopsis: "A simple tool to indent OCaml programs"
description: """
Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack
machine ; this is much faster and more reliable than using regexps. Presets and
configuration options available, with the possibility to set them project-wide.
Supports most common syntax extensions, and extensible for others.
Includes:
* An indentor program, callable from the command-line or from within editors
* Bindings for popular editors
* A library that can be directly used by editor writers, or just for
approximate parsing."""
url {
src: "https://github.com/OCamlPro/ocp-indent/archive/1.5.3.tar.gz"
checksum: "md5=7515340b23df8884e4ae6f6a4315d5f7"
}