chore: autogen opam files from dune

This commit is contained in:
Simon Cruanes 2024-09-04 14:21:02 -04:00
parent ddf181fe83
commit 7c684f1869
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
4 changed files with 97 additions and 42 deletions

4
dune
View file

@ -1,6 +1,6 @@
(alias (rule
(name runtest) (alias runtest)
(package ezcurl-lwt) (package ezcurl-lwt)
(deps (:file README.md)) (deps (:file README.md))
(action (action

View file

@ -1,3 +1,41 @@
(lang dune 1.0) (lang dune 3.0)
(name ezcurl) (name ezcurl)
(version 0.2.4) (version 0.2.4)
(generate_opam_files true)
(license MIT)
(maintainers "simon.cruanes.2007@m4x.org")
(authors "Simon Cruanes")
(source (github c-cube/ezcurl))
(documentation https://c-cube.github.io/ezcurl/)
(package
(name ezcurl)
(synopsis "Friendly wrapper around OCurl")
(tags
("curl" "web" "http" "client"))
(depends
(ocurl
(>= 0.8))
(odoc :with-doc)
(ocaml
(>= 4.03))))
(package
(name ezcurl-lwt)
(synopsis "Friendly wrapper around OCurl, Lwt version")
(tags
("curl" "web" "http" "client" "lwt"))
(depends
(ezcurl
(= :version))
lwt
(mdx :with-test)
(odoc :with-doc)
(ocaml
(>= 4.03))))

View file

@ -1,26 +1,34 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
name: "ezcurl-lwt"
version: "0.2.4" version: "0.2.4"
authors: ["Simon Cruanes"]
maintainer: "simon.cruanes.2007@m4x.org"
license: "MIT"
synopsis: "Friendly wrapper around OCurl, Lwt version" synopsis: "Friendly wrapper around OCurl, Lwt version"
build: [ maintainer: ["simon.cruanes.2007@m4x.org"]
["dune" "build" "@install" "-p" name "-j" jobs] authors: ["Simon Cruanes"]
["dune" "build" "@doc" "-p" name] {with-doc} license: "MIT"
#["dune" "runtest" "-p" name] {with-test} tags: ["curl" "web" "http" "client" "lwt"]
] homepage: "https://github.com/c-cube/ezcurl"
doc: "https://c-cube.github.io/ezcurl/"
bug-reports: "https://github.com/c-cube/ezcurl/issues"
depends: [ depends: [
"ocurl" {>= "0.8.0"} "dune" {>= "3.0"}
"ezcurl" {= version} "ezcurl" {= version}
"lwt" "lwt"
"dune" { >= "1.0" }
"odoc" {with-doc}
"mdx" {with-test} "mdx" {with-test}
"ocaml" { >= "4.03.0" } "odoc" {with-doc}
"ocaml" {>= "4.03"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
] ]
tags: [ "curl" "web" "http" "client" "lwt" ]
homepage: "https://github.com/c-cube/ezcurl/"
doc: "https://c-cube.github.io/ezcurl/doc/1.2"
bug-reports: "https://github.com/c-cube/ezcurl/issues"
dev-repo: "git+https://github.com/c-cube/ezcurl.git" dev-repo: "git+https://github.com/c-cube/ezcurl.git"

View file

@ -1,23 +1,32 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
name: "ezcurl"
version: "0.2.4" version: "0.2.4"
authors: ["Simon Cruanes"]
maintainer: "simon.cruanes.2007@m4x.org"
license: "MIT"
synopsis: "Friendly wrapper around OCurl" synopsis: "Friendly wrapper around OCurl"
build: [ maintainer: ["simon.cruanes.2007@m4x.org"]
["dune" "build" "@install" "-p" name "-j" jobs] authors: ["Simon Cruanes"]
["dune" "build" "@doc" "-p" name] {with-doc} license: "MIT"
#["dune" "runtest" "-p" name] {with-test}
]
depends: [
"ocurl" {>= "0.8.0"}
"dune" { >= "1.0" }
"odoc" {with-doc}
"ocaml" { >= "4.03.0" }
]
tags: ["curl" "web" "http" "client"] tags: ["curl" "web" "http" "client"]
homepage: "https://github.com/c-cube/ezcurl/" homepage: "https://github.com/c-cube/ezcurl"
doc: "https://c-cube.github.io/ezcurl/doc/1.2" doc: "https://c-cube.github.io/ezcurl/"
bug-reports: "https://github.com/c-cube/ezcurl/issues" bug-reports: "https://github.com/c-cube/ezcurl/issues"
depends: [
"dune" {>= "3.0"}
"ocurl" {>= "0.8"}
"odoc" {with-doc}
"ocaml" {>= "4.03"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/c-cube/ezcurl.git" dev-repo: "git+https://github.com/c-cube/ezcurl.git"