-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] dune (1.0.0) #12323
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,6 @@ depends: [ | |
"cppo" {build} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ depends: [ | |
"jbuilder" {build & >= "1.0+beta12"} | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,6 @@ depends: [ | |
"ctypes-foreign" | ||
] | ||
available: [ocaml-version >= "4.06"] | ||
conflicts: [ | ||
"dune" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,6 @@ build: [ | |
build-test: [ | ||
["jbuilder" "runtest"] | ||
] | ||
conflicts: [ | ||
"dune" | ||
] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.