diff --git a/dune b/dune new file mode 100644 index 0000000..3939799 --- /dev/null +++ b/dune @@ -0,0 +1,11 @@ +(library + (name googleApps) + (public_name ocaml-google-apps) + (libraries gen_js_api) +) + +(rule + (targets googleApps.ml) + (deps googleApps.mli) + (action (run %{bin:ocamlfind} gen_js_api/gen_js_api %{deps})) +) \ No newline at end of file diff --git a/dune-project b/dune-project new file mode 100644 index 0000000..de4fc20 --- /dev/null +++ b/dune-project @@ -0,0 +1 @@ +(lang dune 1.0) diff --git a/jbuild-workspace.here b/dune-workspace similarity index 100% rename from jbuild-workspace.here rename to dune-workspace diff --git a/jbuild b/jbuild deleted file mode 100644 index b41bed7..0000000 --- a/jbuild +++ /dev/null @@ -1,13 +0,0 @@ -(jbuild_version 1) - -(library( - (name googleApps) - (public_name ocaml-google-apps) - (libraries (gen_js_api)) -)) - -(rule( - (targets (googleApps.ml)) - (deps (googleApps.mli)) - (action (run ${bin:ocamlfind} gen_js_api/gen_js_api ${<})) -)) \ No newline at end of file diff --git a/ocaml-google-apps.opam b/ocaml-google-apps.opam index 6264e09..c364b68 100644 --- a/ocaml-google-apps.opam +++ b/ocaml-google-apps.opam @@ -1,14 +1,14 @@ opam-version: "2.0" name: "ocaml-google-apps" -version: "0.3" +version: "0.4" synopsis: "OCaml binding to Google Apps" description: """ Binding to Google Apps using gen_js_api (https://github.com/LexiFi/gen_js_api): to be used with js_of_ocaml. -Functions are added/adapted when I need it. +Functions are added/adapted when needed. """ maintainer: "Matthieu Dubuget " authors: ["Matthieu Dubuget "] -build: [["jbuilder" "build" "-p" name "-j" jobs]] -depends: ["jbuilder" "gen_js_api"] +build: [["dune" "build" "-p" name "-j" jobs]] +depends: ["dune" {build} "gen_js_api"]