Skip to content

Commit

Permalink
Merge pull request #21 from seliopou/dev
Browse files Browse the repository at this point in the history
dev: use version "dev" on master
  • Loading branch information
seliopou authored Jul 22, 2017
2 parents 359f740 + 301c856 commit 8670b1f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 50 deletions.
2 changes: 1 addition & 1 deletion _oasis
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OASISFormat: 0.4
Name: d3
Version: 0.2.2
Version: dev
OCamlVersion: >= 4.01.0
Synopsis: OCaml bindings for D3.js
Authors: Spiros Eliopoulos <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions lib/META
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OASIS_START
# DO NOT EDIT (digest: 3e14c404f894ed74f1c36b3e535d4c48)
version = "0.2.2"
# DO NOT EDIT (digest: e5df9ea88e03ced1e3362cb2b633c524)
version = "dev"
description = "OCaml bindings for D3.js"
requires = "js_of_ocaml-ocamlbuild js_of_ocaml-ppx"
archive(byte) = "d3.cma"
Expand Down
20 changes: 7 additions & 13 deletions myocamlbuild.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(* OASIS_START *)
(* DO NOT EDIT (digest: 88c33239040d2c4059175c2868b1ae4e) *)
(* DO NOT EDIT (digest: cdb7cc314374c549edf8d5b82d9b7b66) *)
module OASISGettext = struct
(* # 22 "src/oasis/OASISGettext.ml" *)

Expand Down Expand Up @@ -105,10 +105,7 @@ module OASISString = struct
ok := false;
incr str_idx
done;
if !what_idx = String.length what then
true
else
false
!what_idx = String.length what


let strip_starts_with ~what str =
Expand All @@ -131,10 +128,7 @@ module OASISString = struct
ok := false;
decr str_idx
done;
if !what_idx = -1 then
true
else
false
!what_idx = -1


let strip_ends_with ~what str =
Expand Down Expand Up @@ -440,7 +434,7 @@ module OASISExpr = struct
end


# 443 "myocamlbuild.ml"
# 437 "myocamlbuild.ml"
module BaseEnvLight = struct
(* # 22 "src/base/BaseEnvLight.ml" *)

Expand Down Expand Up @@ -520,7 +514,7 @@ module BaseEnvLight = struct
end


# 523 "myocamlbuild.ml"
# 517 "myocamlbuild.ml"
module MyOCamlbuildFindlib = struct
(* # 22 "src/plugins/ocamlbuild/MyOCamlbuildFindlib.ml" *)

Expand Down Expand Up @@ -881,7 +875,7 @@ module MyOCamlbuildBase = struct
end


# 884 "myocamlbuild.ml"
# 878 "myocamlbuild.ml"
open Ocamlbuild_plugin;;
let package_default =
{
Expand All @@ -896,7 +890,7 @@ let conf = {MyOCamlbuildFindlib.no_automatic_syntax = false}

let dispatch_default = MyOCamlbuildBase.dispatch_default conf package_default;;

# 900 "myocamlbuild.ml"
# 894 "myocamlbuild.ml"
(* OASIS_STOP *)
let examples = [
"rectangle" ;
Expand Down
1 change: 0 additions & 1 deletion opam/opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
opam-version: "1.2"
name: "d3"
version: "0.2.2"
maintainer: "Spiros Eliopoulos <[email protected]>"
authors: [ "Spiros Eliopoulos <[email protected]>" ]
license: "BSD-3-clause"
Expand Down
56 changes: 23 additions & 33 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(* setup.ml generated for the first time by OASIS v0.4.5 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 3c8229d1f2329ce068827502e1b295d9) *)
(* DO NOT EDIT (digest: 7dde24055b8f28c6100a7a99e2234306) *)
(*
Regenerated by OASIS v0.4.8
Regenerated by OASIS v0.4.10
Visit http://oasis.forge.ocamlcore.org for more information and
documentation about functions used in this file.
*)
Expand Down Expand Up @@ -112,10 +112,7 @@ module OASISString = struct
ok := false;
incr str_idx
done;
if !what_idx = String.length what then
true
else
false
!what_idx = String.length what


let strip_starts_with ~what str =
Expand All @@ -138,10 +135,7 @@ module OASISString = struct
ok := false;
decr str_idx
done;
if !what_idx = -1 then
true
else
false
!what_idx = -1


let strip_ends_with ~what str =
Expand Down Expand Up @@ -3162,7 +3156,7 @@ module OASISFileUtil = struct
end


# 3165 "setup.ml"
# 3159 "setup.ml"
module BaseEnvLight = struct
(* # 22 "src/base/BaseEnvLight.ml" *)

Expand Down Expand Up @@ -3242,7 +3236,7 @@ module BaseEnvLight = struct
end


# 3245 "setup.ml"
# 3239 "setup.ml"
module BaseContext = struct
(* # 22 "src/base/BaseContext.ml" *)

Expand Down Expand Up @@ -5665,7 +5659,7 @@ module BaseCompat = struct
end


# 5668 "setup.ml"
# 5662 "setup.ml"
module InternalConfigurePlugin = struct
(* # 22 "src/plugins/internal/InternalConfigurePlugin.ml" *)

Expand Down Expand Up @@ -6016,17 +6010,14 @@ module InternalInstallPlugin = struct

let install =

let in_destdir =
let in_destdir fn =
try
let destdir =
destdir ()
in
(* Practically speaking destdir is prepended
* at the beginning of the target filename
*)
fun fn -> destdir^fn
(* Practically speaking destdir is prepended at the beginning of the
target filename
*)
(destdir ())^fn
with PropList.Not_set _ ->
fun fn -> fn
fn
in

let install_file ~ctxt ?(prepend_destdir=true) ?tgt_fn src_file envdir =
Expand Down Expand Up @@ -6471,7 +6462,7 @@ module InternalInstallPlugin = struct
end


# 6474 "setup.ml"
# 6465 "setup.ml"
module OCamlbuildCommon = struct
(* # 22 "src/plugins/ocamlbuild/OCamlbuildCommon.ml" *)

Expand Down Expand Up @@ -6828,11 +6819,10 @@ module OCamlbuildDocPlugin = struct
run_ocamlbuild ~ctxt (index_html :: run.extra_args) argv;
List.iter
(fun glb ->
BaseBuilt.register
~ctxt
BaseBuilt.BDoc
cs.cs_name
[OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb)])
match OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb) with
| (_ :: _) as filenames ->
BaseBuilt.register ~ctxt BaseBuilt.BDoc cs.cs_name [filenames]
| [] -> ())
["*.html"; "*.css"]


Expand All @@ -6844,7 +6834,7 @@ module OCamlbuildDocPlugin = struct
end


# 6847 "setup.ml"
# 6837 "setup.ml"
open OASISTypes;;

let setup_t =
Expand Down Expand Up @@ -6887,7 +6877,7 @@ let setup_t =
{
oasis_version = "0.4";
ocaml_version = Some (OASISVersion.VGreaterEqual "4.01.0");
version = "0.2.2";
version = "dev";
license =
OASISLicense.DEP5License
(OASISLicense.DEP5Unit
Expand Down Expand Up @@ -7442,16 +7432,16 @@ let setup_t =
plugin_data = []
};
oasis_fn = Some "_oasis";
oasis_version = "0.4.8";
oasis_digest = Some "\226yS\171\176E\020\212\200r\176/B\208f\146";
oasis_version = "0.4.10";
oasis_digest = Some "Z\243eJ\251(}\190{\173\150\159+\144\0009";
oasis_exec = None;
oasis_setup_args = [];
setup_update = false
};;

let setup () = BaseSetup.setup setup_t;;

# 7455 "setup.ml"
# 7445 "setup.ml"
let setup_t = BaseCompat.Compat_0_4.adapt_setup_t setup_t
open BaseCompat.Compat_0_4
(* OASIS_STOP *)
Expand Down

0 comments on commit 8670b1f

Please sign in to comment.