Generate opam file (#441)
* Use opam file generation * autogenerate dune * Do not use {build} * do not hard wrap description
This commit is contained in:
parent
f2f2aef137
commit
fc32fa37a1
27
dune-project
27
dune-project
|
@ -1,2 +1,27 @@
|
||||||
(lang dune 1.0)
|
(lang dune 1.11)
|
||||||
(name utop)
|
(name utop)
|
||||||
|
|
||||||
|
(generate_opam_files)
|
||||||
|
(source (github ocaml-community/utop))
|
||||||
|
(documentation https://ocaml-community.github.io/utop/)
|
||||||
|
(license BSD-3-Clause)
|
||||||
|
(maintainers jeremie@dimino.org)
|
||||||
|
(authors "Jérémie Dimino")
|
||||||
|
|
||||||
|
(package
|
||||||
|
(name utop)
|
||||||
|
(synopsis "Universal toplevel for OCaml")
|
||||||
|
(description
|
||||||
|
"utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for OCaml. It can run in a terminal or in Emacs. It supports line edition, history, real-time and context sensitive completion, colors, and more. It integrates with the Tuareg mode in Emacs.")
|
||||||
|
(depends
|
||||||
|
(ocaml (>= 4.08.0))
|
||||||
|
base-unix
|
||||||
|
base-threads
|
||||||
|
(ocamlfind (>= 1.7.2))
|
||||||
|
(lambda-term (and (>= 3.1.0) (< 4.0)))
|
||||||
|
logs
|
||||||
|
lwt
|
||||||
|
lwt_react
|
||||||
|
(zed (>= 3.2.0))
|
||||||
|
(react (>= 1.0.0))
|
||||||
|
(cppo (>= 1.1.2))))
|
||||||
|
|
38
utop.opam
38
utop.opam
|
@ -1,11 +1,16 @@
|
||||||
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
maintainer: "jeremie@dimino.org"
|
synopsis: "Universal toplevel for OCaml"
|
||||||
authors: "Jérémie Dimino"
|
description:
|
||||||
|
"utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for OCaml. It can run in a terminal or in Emacs. It supports line edition, history, real-time and context sensitive completion, colors, and more. It integrates with the Tuareg mode in Emacs."
|
||||||
|
maintainer: ["jeremie@dimino.org"]
|
||||||
|
authors: ["Jérémie Dimino"]
|
||||||
license: "BSD-3-Clause"
|
license: "BSD-3-Clause"
|
||||||
homepage: "https://github.com/ocaml-community/utop"
|
homepage: "https://github.com/ocaml-community/utop"
|
||||||
bug-reports: "https://github.com/ocaml-community/utop/issues"
|
|
||||||
doc: "https://ocaml-community.github.io/utop/"
|
doc: "https://ocaml-community.github.io/utop/"
|
||||||
|
bug-reports: "https://github.com/ocaml-community/utop/issues"
|
||||||
depends: [
|
depends: [
|
||||||
|
"dune" {>= "1.11"}
|
||||||
"ocaml" {>= "4.08.0"}
|
"ocaml" {>= "4.08.0"}
|
||||||
"base-unix"
|
"base-unix"
|
||||||
"base-threads"
|
"base-threads"
|
||||||
|
@ -14,21 +19,22 @@ depends: [
|
||||||
"logs"
|
"logs"
|
||||||
"lwt"
|
"lwt"
|
||||||
"lwt_react"
|
"lwt_react"
|
||||||
"zed" { >= "3.2.0" }
|
"zed" {>= "3.2.0"}
|
||||||
"react" {>= "1.0.0"}
|
"react" {>= "1.0.0"}
|
||||||
"cppo" {build & >= "1.1.2"}
|
"cppo" {>= "1.1.2"}
|
||||||
"dune" {>= "1.0"}
|
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
["dune" "subst"] {dev}
|
["dune" "subst"] {pinned}
|
||||||
["dune" "build" "-p" name "-j" jobs]
|
[
|
||||||
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
"dune"
|
||||||
|
"build"
|
||||||
|
"-p"
|
||||||
|
name
|
||||||
|
"-j"
|
||||||
|
jobs
|
||||||
|
"@install"
|
||||||
|
"@runtest" {with-test}
|
||||||
|
"@doc" {with-doc}
|
||||||
|
]
|
||||||
]
|
]
|
||||||
dev-repo: "git+https://github.com/ocaml-community/utop.git"
|
dev-repo: "git+https://github.com/ocaml-community/utop.git"
|
||||||
synopsis: "Universal toplevel for OCaml"
|
|
||||||
description: """
|
|
||||||
utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for
|
|
||||||
OCaml. It can run in a terminal or in Emacs. It supports line
|
|
||||||
edition, history, real-time and context sensitive completion, colors,
|
|
||||||
and more. It integrates with the Tuareg mode in Emacs.
|
|
||||||
"""
|
|
||||||
|
|
Loading…
Reference in New Issue