2016-12-02 13:54:32 +00:00
|
|
|
opam-version: "1.2"
|
2017-03-29 16:48:41 +00:00
|
|
|
version: "1.0+beta6"
|
2016-12-02 13:54:32 +00:00
|
|
|
maintainer: "opensource@janestreet.com"
|
|
|
|
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
|
|
homepage: "https://github.com/janestreet/jbuilder"
|
|
|
|
bug-reports: "https://github.com/janestreet/jbuilder/issues"
|
2017-03-28 14:20:18 +00:00
|
|
|
dev-repo: "git+https://github.com/janestreet/jbuilder.git"
|
2016-12-02 13:54:32 +00:00
|
|
|
license: "Apache-2.0"
|
|
|
|
build: [
|
2017-02-23 09:45:09 +00:00
|
|
|
["ocaml" "bootstrap.ml"]
|
|
|
|
["./boot.exe" "-j" jobs]
|
2016-12-02 13:54:32 +00:00
|
|
|
]
|
2017-03-28 13:20:08 +00:00
|
|
|
depends: [
|
|
|
|
# ocamlfind is not mandatory to build packages using
|
|
|
|
# jbuilder. However if it is present jbuilder will use it. Making
|
|
|
|
# it a hard-dependency avoids problems when there is a previous
|
|
|
|
# ocamlfind in the PATH. We make it a "build" depepdency even though
|
|
|
|
# it is only a runtime dependency so that reinstalling ocamlfind
|
|
|
|
# doesn't resintall jbuilder
|
2017-03-21 10:21:18 +00:00
|
|
|
"ocamlfind" {build}
|
|
|
|
]
|
2017-02-26 21:28:30 +00:00
|
|
|
available: [ ocaml-version >= "4.02.3" ]
|
2016-12-02 13:54:32 +00:00
|
|
|
|
2017-03-01 12:11:54 +00:00
|
|
|
# CR-soon jdimino: uncomment this when opam 2 is the norm:
|
|
|
|
#
|
|
|
|
# descr: "
|
|
|
|
# Fast, portable and opinionated build system
|
|
|
|
#
|
|
|
|
# jbuilder is a build system that was designed to simplify the release
|
|
|
|
# of Jane Street packages. It reads metadata from \"jbuild\" files
|
|
|
|
# following a very simple s-expression syntax.
|
|
|
|
#
|
|
|
|
# jbuilder is fast, it has very low-overhead and support parallel builds
|
|
|
|
# on all platforms. It has no system dependencies, all you need to build
|
|
|
|
# jbuilder and packages using jbuilder is OCaml. You don't need or make
|
|
|
|
# or bash as long as the packages themselves don't use bash explicitely.
|
|
|
|
#
|
|
|
|
# jbuilder 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.
|
|
|
|
# "
|