Skip to content

Commit

Permalink
Merge PR #545 (@smondet, Recent Cohttp & JSOO)
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet committed Aug 26, 2017
2 parents d202ee1 + d14fd70 commit 4f8573a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ os:
- osx
env:
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.0
- OCAML_VERSION=4.04.2
6 changes: 3 additions & 3 deletions myocamlbuild.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let (//) = Filename.concat
let failwithf fmt = ksprintf failwith fmt

let project_name = "ketrew"
let version = "3.2.0"
let version = "3.2.0+dev"

let build_tests =
try Sys.getenv "WITH_TESTS" = "true" with _ -> false
Expand Down Expand Up @@ -32,13 +32,13 @@ let lwt_react =
else "lwt.react"

let lwt_unix_lib_packages = pure_lib_packages @ [
"threads"; "pvem_lwt_unix"; "cmdliner"; "cohttp.lwt"; "conduit";
"threads"; "pvem_lwt_unix"; "cmdliner"; "cohttp-lwt-unix"; "conduit";
"dynlink"; "findlib"; lwt_react;
]
@ (if with_postgresql then ["postgresql"] else [])

let joo_packages = pure_lib_packages @ [
"js_of_ocaml"; "js_of_ocaml.ppx"; "js_of_ocaml.tyxml";
"js_of_ocaml"; "js_of_ocaml-lwt"; "js_of_ocaml-ppx"; "js_of_ocaml-tyxml";
]

let ocaml_options (f : _ Project.with_options) =
Expand Down
10 changes: 8 additions & 2 deletions opam/opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ depends: [
"yojson" "uri"
"ppx_deriving"
"ppx_deriving_yojson" {>= "3.0"}
"cohttp" {>= "0.21.0" & <= "0.22.0"} "lwt"
"cohttp-lwt-unix" {>= "0.99.0"}
"lwt"
"conduit"
"lwt_react"
"js_of_ocaml" {>= "2.6" & <= "2.8.4" } "tyxml" {>= "4.0.0"} "reactiveData" {>= "0.2"}
"js_of_ocaml" {>= "3.0"}
"js_of_ocaml-ppx" {>= "3.0"}
"js_of_ocaml-tyxml" {>= "3.0"}
"js_of_ocaml-lwt" {>= "3.0"}
"tyxml" {>= "4.0.0"}
"reactiveData" {>= "0.2"}
]
depopts: [
"postgresql"
Expand Down
2 changes: 1 addition & 1 deletion src/client-joo/protocol_client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ let call ?(timeout = 20.) t msg =
Lwt.(fun () ->
pick [
begin
Jsonp.call_custom_url (jsonp_call url msg)
Lwt_jsonp.call_custom_url (jsonp_call url msg)
>>= fun msg ->
return (`String msg)
end;
Expand Down

0 comments on commit 4f8573a

Please sign in to comment.