You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.1 KiB
55 lines
2.1 KiB
![]()
6 years ago
|
opam-version: "2.0"
|
||
![]()
5 years ago
|
synopsis: "Fast, portable, and opinionated build system"
|
||
![]()
6 years ago
|
description: """
|
||
![]()
6 years ago
|
|
||
![]()
6 years ago
|
dune is a build system that was designed to simplify the release of
|
||
|
Jane Street packages. It reads metadata from "dune" files following a
|
||
|
very simple s-expression syntax.
|
||
|
|
||
![]()
5 years ago
|
dune is fast, has very low-overhead, and supports parallel builds on
|
||
|
all platforms. It has no system dependencies; all you need to build
|
||
|
dune or packages using dune is OCaml. You don't need make or bash
|
||
![]()
6 years ago
|
as long as the packages themselves don't use bash explicitly.
|
||
|
|
||
|
dune supports multi-package development by simply dropping multiple
|
||
|
repositories into the same directory.
|
||
|
|
||
|
It also supports multi-context builds, such as building against
|
||
|
several opam roots/switches simultaneously. This helps maintaining
|
||
|
packages across several versions of OCaml and gives cross-compilation
|
||
|
for free.
|
||
|
"""
|
||
![]()
5 years ago
|
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
||
|
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
||
|
license: "MIT"
|
||
|
homepage: "https://github.com/ocaml/dune"
|
||
|
doc: "https://dune.readthedocs.io/"
|
||
|
bug-reports: "https://github.com/ocaml/dune/issues"
|
||
![]()
6 years ago
|
conflicts: [
|
||
![]()
5 years ago
|
"dune-configurator" {< "2.3.0"}
|
||
![]()
6 years ago
|
"odoc" {< "1.3.0"}
|
||
|
"dune-release" {< "1.3.0"}
|
||
![]()
5 years ago
|
"jbuilder" {= "transition"}
|
||
![]()
6 years ago
|
]
|
||
![]()
5 years ago
|
dev-repo: "git+https://github.com/ocaml/dune.git"
|
||
![]()
6 years ago
|
build: [
|
||
|
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
|
||
|
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
|
||
![]()
5 years ago
|
["ocaml" "bootstrap.ml" "-j" jobs]
|
||
|
["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs]
|
||
|
]
|
||
|
depends: [
|
||
|
# Please keep the lower bound in sync with .travis.yml, dune-project
|
||
|
# and min_ocaml_version in bootstrap.ml
|
||
|
("ocaml" {>= "4.07"} | ("ocaml" {< "4.07~~"} & "ocamlfind-secondary"))
|
||
|
"base-unix"
|
||
|
"base-threads"
|
||
![]()
6 years ago
|
]
|
||
![]()
6 years ago
|
url {
|
||
![]()
5 years ago
|
src: "https://github.com/ocaml/dune/releases/download/2.3.1/dune-2.3.1.tbz"
|
||
![]()
6 years ago
|
checksum: [
|
||
![]()
5 years ago
|
"sha256=b2b3dd9cdfd34ef8c4583ea8c52c3503c2395bf94c264af19d6450547e12f5cb"
|
||
|
"sha512=023fe4ddf743b8de24de0d7d2e6d5d0f85e459c5044aa4ba3de02cf63113d54d79004cc8ea8f7a958b324e9cbeef0845ec6a0f65454bc6a2e635e8944d28a0f9"
|
||
![]()
6 years ago
|
]
|
||
![]()
6 years ago
|
}
|