Passage à dune
This commit is contained in:
parent
7b4930cf0d
commit
e4b72227c4
11
dune
Normal file
11
dune
Normal file
@ -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}))
|
||||
)
|
1
dune-project
Normal file
1
dune-project
Normal file
@ -0,0 +1 @@
|
||||
(lang dune 1.0)
|
13
jbuild
13
jbuild
@ -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 ${<}))
|
||||
))
|
@ -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 <matthieu.dubuget@gmail.com>"
|
||||
authors: ["Matthieu Dubuget <matthieu.dubuget@gmail.com>"]
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user