Skip to content

Commit 8670b1f

Browse files
authored
Merge pull request #21 from seliopou/dev
dev: use version "dev" on master
2 parents 359f740 + 301c856 commit 8670b1f

File tree

5 files changed

+33
-50
lines changed

5 files changed

+33
-50
lines changed

_oasis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.4
22
Name: d3
3-
Version: 0.2.2
3+
Version: dev
44
OCamlVersion: >= 4.01.0
55
Synopsis: OCaml bindings for D3.js
66
Authors: Spiros Eliopoulos <[email protected]>

lib/META

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OASIS_START
2-
# DO NOT EDIT (digest: 3e14c404f894ed74f1c36b3e535d4c48)
3-
version = "0.2.2"
2+
# DO NOT EDIT (digest: e5df9ea88e03ced1e3362cb2b633c524)
3+
version = "dev"
44
description = "OCaml bindings for D3.js"
55
requires = "js_of_ocaml-ocamlbuild js_of_ocaml-ppx"
66
archive(byte) = "d3.cma"

myocamlbuild.ml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(* OASIS_START *)
2-
(* DO NOT EDIT (digest: 88c33239040d2c4059175c2868b1ae4e) *)
2+
(* DO NOT EDIT (digest: cdb7cc314374c549edf8d5b82d9b7b66) *)
33
module OASISGettext = struct
44
(* # 22 "src/oasis/OASISGettext.ml" *)
55

@@ -105,10 +105,7 @@ module OASISString = struct
105105
ok := false;
106106
incr str_idx
107107
done;
108-
if !what_idx = String.length what then
109-
true
110-
else
111-
false
108+
!what_idx = String.length what
112109

113110

114111
let strip_starts_with ~what str =
@@ -131,10 +128,7 @@ module OASISString = struct
131128
ok := false;
132129
decr str_idx
133130
done;
134-
if !what_idx = -1 then
135-
true
136-
else
137-
false
131+
!what_idx = -1
138132

139133

140134
let strip_ends_with ~what str =
@@ -440,7 +434,7 @@ module OASISExpr = struct
440434
end
441435

442436

443-
# 443 "myocamlbuild.ml"
437+
# 437 "myocamlbuild.ml"
444438
module BaseEnvLight = struct
445439
(* # 22 "src/base/BaseEnvLight.ml" *)
446440

@@ -520,7 +514,7 @@ module BaseEnvLight = struct
520514
end
521515

522516

523-
# 523 "myocamlbuild.ml"
517+
# 517 "myocamlbuild.ml"
524518
module MyOCamlbuildFindlib = struct
525519
(* # 22 "src/plugins/ocamlbuild/MyOCamlbuildFindlib.ml" *)
526520

@@ -881,7 +875,7 @@ module MyOCamlbuildBase = struct
881875
end
882876

883877

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

897891
let dispatch_default = MyOCamlbuildBase.dispatch_default conf package_default;;
898892

899-
# 900 "myocamlbuild.ml"
893+
# 894 "myocamlbuild.ml"
900894
(* OASIS_STOP *)
901895
let examples = [
902896
"rectangle" ;

opam/opam

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
opam-version: "1.2"
22
name: "d3"
3-
version: "0.2.2"
43
maintainer: "Spiros Eliopoulos <[email protected]>"
54
authors: [ "Spiros Eliopoulos <[email protected]>" ]
65
license: "BSD-3-clause"

setup.ml

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
(* setup.ml generated for the first time by OASIS v0.4.5 *)
22

33
(* OASIS_START *)
4-
(* DO NOT EDIT (digest: 3c8229d1f2329ce068827502e1b295d9) *)
4+
(* DO NOT EDIT (digest: 7dde24055b8f28c6100a7a99e2234306) *)
55
(*
6-
Regenerated by OASIS v0.4.8
6+
Regenerated by OASIS v0.4.10
77
Visit http://oasis.forge.ocamlcore.org for more information and
88
documentation about functions used in this file.
99
*)
@@ -112,10 +112,7 @@ module OASISString = struct
112112
ok := false;
113113
incr str_idx
114114
done;
115-
if !what_idx = String.length what then
116-
true
117-
else
118-
false
115+
!what_idx = String.length what
119116

120117

121118
let strip_starts_with ~what str =
@@ -138,10 +135,7 @@ module OASISString = struct
138135
ok := false;
139136
decr str_idx
140137
done;
141-
if !what_idx = -1 then
142-
true
143-
else
144-
false
138+
!what_idx = -1
145139

146140

147141
let strip_ends_with ~what str =
@@ -3162,7 +3156,7 @@ module OASISFileUtil = struct
31623156
end
31633157

31643158

3165-
# 3165 "setup.ml"
3159+
# 3159 "setup.ml"
31663160
module BaseEnvLight = struct
31673161
(* # 22 "src/base/BaseEnvLight.ml" *)
31683162

@@ -3242,7 +3236,7 @@ module BaseEnvLight = struct
32423236
end
32433237

32443238

3245-
# 3245 "setup.ml"
3239+
# 3239 "setup.ml"
32463240
module BaseContext = struct
32473241
(* # 22 "src/base/BaseContext.ml" *)
32483242

@@ -5665,7 +5659,7 @@ module BaseCompat = struct
56655659
end
56665660

56675661

5668-
# 5668 "setup.ml"
5662+
# 5662 "setup.ml"
56695663
module InternalConfigurePlugin = struct
56705664
(* # 22 "src/plugins/internal/InternalConfigurePlugin.ml" *)
56715665

@@ -6016,17 +6010,14 @@ module InternalInstallPlugin = struct
60166010

60176011
let install =
60186012

6019-
let in_destdir =
6013+
let in_destdir fn =
60206014
try
6021-
let destdir =
6022-
destdir ()
6023-
in
6024-
(* Practically speaking destdir is prepended
6025-
* at the beginning of the target filename
6026-
*)
6027-
fun fn -> destdir^fn
6015+
(* Practically speaking destdir is prepended at the beginning of the
6016+
target filename
6017+
*)
6018+
(destdir ())^fn
60286019
with PropList.Not_set _ ->
6029-
fun fn -> fn
6020+
fn
60306021
in
60316022

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

64736464

6474-
# 6474 "setup.ml"
6465+
# 6465 "setup.ml"
64756466
module OCamlbuildCommon = struct
64766467
(* # 22 "src/plugins/ocamlbuild/OCamlbuildCommon.ml" *)
64776468

@@ -6828,11 +6819,10 @@ module OCamlbuildDocPlugin = struct
68286819
run_ocamlbuild ~ctxt (index_html :: run.extra_args) argv;
68296820
List.iter
68306821
(fun glb ->
6831-
BaseBuilt.register
6832-
~ctxt
6833-
BaseBuilt.BDoc
6834-
cs.cs_name
6835-
[OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb)])
6822+
match OASISFileUtil.glob ~ctxt (Filename.concat tgt_dir glb) with
6823+
| (_ :: _) as filenames ->
6824+
BaseBuilt.register ~ctxt BaseBuilt.BDoc cs.cs_name [filenames]
6825+
| [] -> ())
68366826
["*.html"; "*.css"]
68376827

68386828

@@ -6844,7 +6834,7 @@ module OCamlbuildDocPlugin = struct
68446834
end
68456835

68466836

6847-
# 6847 "setup.ml"
6837+
# 6837 "setup.ml"
68486838
open OASISTypes;;
68496839

68506840
let setup_t =
@@ -6887,7 +6877,7 @@ let setup_t =
68876877
{
68886878
oasis_version = "0.4";
68896879
ocaml_version = Some (OASISVersion.VGreaterEqual "4.01.0");
6890-
version = "0.2.2";
6880+
version = "dev";
68916881
license =
68926882
OASISLicense.DEP5License
68936883
(OASISLicense.DEP5Unit
@@ -7442,16 +7432,16 @@ let setup_t =
74427432
plugin_data = []
74437433
};
74447434
oasis_fn = Some "_oasis";
7445-
oasis_version = "0.4.8";
7446-
oasis_digest = Some "\226yS\171\176E\020\212\200r\176/B\208f\146";
7435+
oasis_version = "0.4.10";
7436+
oasis_digest = Some "Z\243eJ\251(}\190{\173\150\159+\144\0009";
74477437
oasis_exec = None;
74487438
oasis_setup_args = [];
74497439
setup_update = false
74507440
};;
74517441

74527442
let setup () = BaseSetup.setup setup_t;;
74537443

7454-
# 7455 "setup.ml"
7444+
# 7445 "setup.ml"
74557445
let setup_t = BaseCompat.Compat_0_4.adapt_setup_t setup_t
74567446
open BaseCompat.Compat_0_4
74577447
(* OASIS_STOP *)

0 commit comments

Comments
 (0)