Skip to content

Commit

Permalink
Merge pull request #769 from ocsigen/fixes
Browse files Browse the repository at this point in the history
Fix compilation under Mac OS
  • Loading branch information
balat authored Oct 9, 2023
2 parents 027b672 + 36b2690 commit cfd9a19
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 10 additions & 8 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@

(package
(name eliom)
(synopsis "Client/server Web framework")
(description "Eliom is a framework for implementing client/server Web applications.
It introduces new concepts to simplify the implementation of common behaviors, and uses advanced static typing features of OCaml to check many properties of the Web application at compile-time.
Eliom allows implementing the whole application as a single program that includes both the client and the server code.
We use a syntax extension to distinguish between the two sides.
The client-side code is compiled to JS using Ocsigen Js_of_ocaml.
(synopsis "Client/server Web and mobile framework")
(description "Eliom is a framework for implementing Web sites and client/server Web and mobile applications.
It uses advanced concepts to simplify the implementation of common behaviors (e.g. scoped sessions, continuation based Web programming ...).
It uses advanced static typing features of OCaml to check many properties of the Web application at compile-time (html, page parameters ...).
Eliom allows implementing the whole application as a single program that includes both the client and the server code. For example, you can implement event handlers (onclick ...) directly in OCaml, and you can call a server-side OCaml function from the client. Pages are generated either on the server or the client.
These client-side features remain compatible with traditional Web programming (links, forms, URLs, bookmarks, sessions ...).
It is possible to generate mobile applications for Android and iOS with the exact same code as your Web application.
The client-side code is compiled to JS using Ocsigen Js_of_ocaml or to Wasm using Wasm_of_ocaml.
")
(homepage http://ocsigen.org/eliom/)
(homepage https://ocsigen.org/eliom/)
(source (github ocsigen/eliom))
(depends
(ocaml (>= 4.08.0))
Expand All @@ -30,7 +32,7 @@ The client-side code is compiled to JS using Ocsigen Js_of_ocaml.
(js_of_ocaml-tyxml (>= 3.6.0))
lwt_log
(lwt_ppx (>= 1.2.3))
(tyxml (and (>= 4.4.0) (< 5.0.0)))
(tyxml (and (>= 4.4.0) (< 4.5.0)))
(ocsigenserver (and (>= 5.1.0) (< 6.0.0)))
(ipaddr (>= 2.1))
(reactiveData (>= 0.2.1))
Expand Down
2 changes: 0 additions & 2 deletions eliom.opam
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
name: "eliom"
version: "10.1.2"
synopsis: "Client/server Web and mobile framework"
description: """
Eliom is a framework for implementing Web sites and client/server Web and mobile applications.
Expand Down
2 changes: 1 addition & 1 deletion src/lib/server/dune
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
(rule (target type_includes)
(action
(with-stdout-to %{target}
(system "echo -n '('; ocamlfind query -i-format js_of_ocaml; echo -n ')'"))))
(system "printf '('; ocamlfind query -i-format js_of_ocaml; printf ')'"))))

(env
(_
Expand Down

0 comments on commit cfd9a19

Please sign in to comment.