From db4eca7198a28476dce1aba406a867ebd43aa9f1 Mon Sep 17 00:00:00 2001 From: Tim McGilchrist Date: Fri, 6 Aug 2021 10:50:09 +1000 Subject: [PATCH 1/3] Add webmachine-examples opam to fix ocaml-ci. --- webmachine-examples.opam | 20 ++++++++++++++++++++ webmachine.opam | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 webmachine-examples.opam diff --git a/webmachine-examples.opam b/webmachine-examples.opam new file mode 100644 index 0000000..201034e --- /dev/null +++ b/webmachine-examples.opam @@ -0,0 +1,20 @@ +opam-version: "2.0" +maintainer: "Spiros Eliopoulos " +authors: [ "Spiros Eliopoulos " ] +license: "BSD-3-clause" +homepage: "https://github.com/inhabitedtype/ocaml-webmachine" +dev-repo: "git+https://github.com/inhabitedtype/ocaml-webmachine.git" +bug-reports: "https://github.com/inhabitedtype/ocaml-webmachine/issues" +build: [ + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +depends: [ + "webmachine" + "async" + "core" + "cohttp-async" + "lwt" + "cohttp-lwt-unix" +] +synopsis: "Webmachine examples" diff --git a/webmachine.opam b/webmachine.opam index c2c61c6..a88ba39 100644 --- a/webmachine.opam +++ b/webmachine.opam @@ -6,7 +6,6 @@ homepage: "https://github.com/inhabitedtype/ocaml-webmachine" dev-repo: "git+https://github.com/inhabitedtype/ocaml-webmachine.git" bug-reports: "https://github.com/inhabitedtype/ocaml-webmachine/issues" build: [ - ["dune" "subst"] {pinned} ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] @@ -17,6 +16,7 @@ depends: [ "dispatch" {>= "0.5.0"} "dune" {>= "1.0"} "ounit" {with-test & >= "1.0.2"} + "js_of_ocaml" {with-test} "re" {>= "1.7.2"} ] synopsis: "A REST toolkit for OCaml" From 4b53c66ed06c68ed5fc341386334ed46f445260a Mon Sep 17 00:00:00 2001 From: Tim McGilchrist Date: Fri, 6 Aug 2021 11:27:35 +1000 Subject: [PATCH 2/3] fixup! Add webmachine-examples opam to fix ocaml-ci. --- webmachine-examples.opam | 2 ++ webmachine.opam | 1 + 2 files changed, 3 insertions(+) diff --git a/webmachine-examples.opam b/webmachine-examples.opam index 201034e..bebadaa 100644 --- a/webmachine-examples.opam +++ b/webmachine-examples.opam @@ -16,5 +16,7 @@ depends: [ "cohttp-async" "lwt" "cohttp-lwt-unix" + "ounit" {with-test & >= "1.0.2"} + "dune" {>= "1.0"} ] synopsis: "Webmachine examples" diff --git a/webmachine.opam b/webmachine.opam index a88ba39..3570038 100644 --- a/webmachine.opam +++ b/webmachine.opam @@ -18,6 +18,7 @@ depends: [ "ounit" {with-test & >= "1.0.2"} "js_of_ocaml" {with-test} "re" {>= "1.7.2"} + "uri" {>= "2.0.0"} ] synopsis: "A REST toolkit for OCaml" description: """ From 9b6b89c36948bf7fc3bf18c1ea62bb23afa83b99 Mon Sep 17 00:00:00 2001 From: Tim McGilchrist Date: Fri, 6 Aug 2021 11:30:36 +1000 Subject: [PATCH 3/3] fixup! Add webmachine-examples opam to fix ocaml-ci. --- lib/webmachine.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webmachine.mli b/lib/webmachine.mli index f086d85..e1dfc8d 100644 --- a/lib/webmachine.mli +++ b/lib/webmachine.mli @@ -39,7 +39,7 @@ To use this module, apply the {{!Make}[Make]} functor to an {{!IO}[IO]} and a {{!CLOCK}[CLOCK]} module, and subclass the - {{!classtype:S.resource}resouce} virtual class. *) + {{!class-type:S.resource}resouce} virtual class. *) open Cohttp