mirror of
https://github.com/c-cube/ezcurl.git
synced 2025-12-05 19:00:34 -05:00
chore: autogen opam files from dune
This commit is contained in:
parent
ddf181fe83
commit
7c684f1869
4 changed files with 97 additions and 42 deletions
4
dune
4
dune
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
(alias
|
||||
(name runtest)
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package ezcurl-lwt)
|
||||
(deps (:file README.md))
|
||||
(action
|
||||
|
|
|
|||
40
dune-project
40
dune-project
|
|
@ -1,3 +1,41 @@
|
|||
(lang dune 1.0)
|
||||
(lang dune 3.0)
|
||||
|
||||
(name ezcurl)
|
||||
|
||||
(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))))
|
||||
|
|
|
|||
|
|
@ -1,26 +1,34 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
name: "ezcurl-lwt"
|
||||
version: "0.2.4"
|
||||
authors: ["Simon Cruanes"]
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
license: "MIT"
|
||||
synopsis: "Friendly wrapper around OCurl, Lwt version"
|
||||
build: [
|
||||
["dune" "build" "@install" "-p" name "-j" jobs]
|
||||
["dune" "build" "@doc" "-p" name] {with-doc}
|
||||
#["dune" "runtest" "-p" name] {with-test}
|
||||
]
|
||||
maintainer: ["simon.cruanes.2007@m4x.org"]
|
||||
authors: ["Simon Cruanes"]
|
||||
license: "MIT"
|
||||
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: [
|
||||
"ocurl" {>= "0.8.0"}
|
||||
"dune" {>= "3.0"}
|
||||
"ezcurl" {= version}
|
||||
"lwt"
|
||||
"dune" { >= "1.0" }
|
||||
"odoc" {with-doc}
|
||||
"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"
|
||||
|
|
|
|||
43
ezcurl.opam
43
ezcurl.opam
|
|
@ -1,23 +1,32 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
name: "ezcurl"
|
||||
version: "0.2.4"
|
||||
authors: ["Simon Cruanes"]
|
||||
maintainer: "simon.cruanes.2007@m4x.org"
|
||||
license: "MIT"
|
||||
synopsis: "Friendly wrapper around OCurl"
|
||||
build: [
|
||||
["dune" "build" "@install" "-p" name "-j" jobs]
|
||||
["dune" "build" "@doc" "-p" name] {with-doc}
|
||||
#["dune" "runtest" "-p" name] {with-test}
|
||||
]
|
||||
depends: [
|
||||
"ocurl" {>= "0.8.0"}
|
||||
"dune" { >= "1.0" }
|
||||
"odoc" {with-doc}
|
||||
"ocaml" { >= "4.03.0" }
|
||||
]
|
||||
maintainer: ["simon.cruanes.2007@m4x.org"]
|
||||
authors: ["Simon Cruanes"]
|
||||
license: "MIT"
|
||||
tags: ["curl" "web" "http" "client"]
|
||||
homepage: "https://github.com/c-cube/ezcurl/"
|
||||
doc: "https://c-cube.github.io/ezcurl/doc/1.2"
|
||||
homepage: "https://github.com/c-cube/ezcurl"
|
||||
doc: "https://c-cube.github.io/ezcurl/"
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue