Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] dune (1.0.0) #12323

Merged
merged 3 commits into from Jul 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions packages/dune/dune.1.0.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Fast, portable and opinionated build system

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.

dune is fast, it has very low-overhead and support parallel builds on
all platforms. It has no system dependencies, all you need to build
dune and packages using dune is OCaml. You don't need or make or bash
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.
17 changes: 17 additions & 0 deletions packages/dune/dune.1.0.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
opam-version: "1.2"
maintainer: "opensource@janestreet.com"
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
homepage: "https://github.com/ocaml/dune"
bug-reports: "https://github.com/ocaml/dune/issues"
dev-repo: "https://github.com/ocaml/dune.git"
license: "MIT"
build: [
["ocaml" "configure.ml" "--libdir" lib]
["ocaml" "bootstrap.ml"]
["./boot.exe" "--release" "--subst"] {pinned}
["./boot.exe" "--release" "-j" jobs]
]
available: [ ocaml-version >= "4.02.3" ]
conflicts: [
"jbuilder" {!= "transition"}
]
2 changes: 2 additions & 0 deletions packages/dune/dune.1.0.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/ocaml/dune/releases/download/1.0.0/dune-1.0.0.tbz"
checksum: "7435bc09a3967bf6da01e6cb7d37ccc3"
2 changes: 2 additions & 0 deletions packages/jbuilder/jbuilder.transition/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is a transition package, jbuilder is now named dune. Use the dune
package instead.
13 changes: 13 additions & 0 deletions packages/jbuilder/jbuilder.transition/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
opam-version: "1.2"
maintainer: "opensource@janestreet.com"
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
homepage: "https://github.com/ocaml/dune"
bug-reports: "https://github.com/ocaml/dune/issues"
dev-repo: "https://github.com/ocaml/dune.git"
license: "MIT"
build: []
depends: ["dune"]
post-messages: [
"Jbuilder has been renamed and the jbuilder package is now a transition"
"package. Use the dune package instead."
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't do this, use a multi-line string instead. Or better, let opam reformat it, it knows about the terminal width. This actually prints 2 messages, and is e.g. inconsistent with the use of conditional filters.

3 changes: 3 additions & 0 deletions packages/opam-client/opam-client.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-core/opam-core.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ depends: [
"cppo" {build}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-devel/opam-devel.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
post-messages: [
"
The development version of opam has been successfuly compiled into %{lib}%/%{name}%. You should not run it from there, please install the binaries to your PATH, e.g. with
Expand Down
3 changes: 3 additions & 0 deletions packages/opam-format/opam-format.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-installer/opam-installer.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-repository/opam-repository.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-solver/opam-solver.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/opam-state/opam-state.2.0.0~rc/opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ depends: [
"jbuilder" {build & >= "1.0+beta12"}
]
available: [ocaml-version >= "4.02.3"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/reed-solomon-erasure/reed-solomon-erasure.1.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ depends: [
"ctypes-foreign"
]
available: [ocaml-version >= "4.06"]
conflicts: [
"dune"
]
3 changes: 3 additions & 0 deletions packages/yaml/yaml.0.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ build: [
build-test: [
["jbuilder" "runtest"]
]
conflicts: [
"dune"
]