This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,54 @@
Package information fields can be overridden per-package:
$ cat >dune-project <<EOF
> (lang dune 3.18)
> (name foo)
> (version 1.0.0)
> (source (github mirage/ocaml-cohttp))
> (license ISC)
> (authors "Anil Madhavapeddy" "Rudi Grinberg")
> (homepage https://my.home.page)
> (maintenance_intent "(none)")
> ;
> (generate_opam_files true)
> ;
> (package
> (name foo)
> (version 1.0.1)
> (source (github mirage/foo))
> (license MIT)
> (authors "Foo" "Bar")
> (maintenance_intent "0.9" "1.0.1")
> (allow_empty))
> EOF
$ dune build @install
$ cat foo.opam
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "1.0.1"
authors: ["Foo" "Bar"]
license: "MIT"
homepage: "https://my.home.page"
bug-reports: "https://github.com/mirage/foo/issues"
depends: [
"dune" {>= "3.18"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/mirage/foo.git"
x-maintenance-intent: ["0.9" "1.0.1"]