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 diff --git a/webmachine-examples.opam b/webmachine-examples.opam new file mode 100644 index 0000000..bebadaa --- /dev/null +++ b/webmachine-examples.opam @@ -0,0 +1,22 @@ +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" + "ounit" {with-test & >= "1.0.2"} + "dune" {>= "1.0"} +] +synopsis: "Webmachine examples" diff --git a/webmachine.opam b/webmachine.opam index c2c61c6..3570038 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,7 +16,9 @@ depends: [ "dispatch" {>= "0.5.0"} "dune" {>= "1.0"} "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: """