Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add webmachine-examples opam to fix ocaml-ci. #110

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/webmachine.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
22 changes: 22 additions & 0 deletions webmachine-examples.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
opam-version: "2.0"
maintainer: "Spiros Eliopoulos <[email protected]>"
authors: [ "Spiros Eliopoulos <[email protected]>" ]
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"
3 changes: 2 additions & 1 deletion webmachine.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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}
]
Expand All @@ -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: """
Expand Down