Skip to content

Commit

Permalink
Merge pull request #359 from samoht/master
Browse files Browse the repository at this point in the history
Fix compilation of examples
  • Loading branch information
samoht authored Jun 15, 2016
2 parents 6fd390c + da75cc9 commit afc128a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.11.1 (2016-06-14)

* Fix compilation of examples (#359, @samoht)

### 0.11.0 (2016-05-04)

* Use Logs (#342, @talex5)
Expand Down
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: irmin
Version: 0.11.0
Version: 0.11.1
Synopsis: A Distributed Version Control Database
Authors: Thomas Gazagnaire, Thomas Leonard
License: ISC
Expand Down
9 changes: 0 additions & 9 deletions examples/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ let init () =
let _ = Sys.command (Printf.sprintf "mkdir -p %s" root) in
()

(* Enable debug outputs if DEBUG is set *)
let () =
try match Sys.getenv "DEBUG" with
| "" -> ()
| _ ->
Log.color_on ();
Log.set_log_level Log.DEBUG
with Not_found -> ()

(* Install the FS listener. *)
let () =
Irmin_unix.install_dir_polling_listener 0.5
2 changes: 0 additions & 2 deletions examples/views.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ type t2 = {
type t = t2 list

let view_of_t t =
Log.debug "view_of_t";
View.empty () >>= fun v ->
Lwt_list.iteri_s (fun i t2 ->
let i = string_of_int i in
Expand All @@ -26,7 +25,6 @@ let view_of_t t =
return v

let t_of_view v =
Log.debug "t_of_view";
let aux acc i =
let i = string_of_int i in
View.read_exn v [i;"x"] >>= fun x ->
Expand Down
16 changes: 8 additions & 8 deletions lib/META
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OASIS_START
# DO NOT EDIT (digest: 4089f03f9b1e1ac3263239fc168dc205)
version = "0.11.0"
# DO NOT EDIT (digest: d34a0409c682d27bb7046835c393c53a)
version = "0.11.1"
description = "A Distributed Version Control Database"
requires = "ezjsonm ocamlgraph lwt logs cstruct tc mstruct uri stringext hex"
archive(byte) = "irmin.cma"
Expand All @@ -9,7 +9,7 @@ archive(native) = "irmin.cmxa"
archive(native, plugin) = "irmin.cmxs"
exists_if = "irmin.cma"
package "unix" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires =
"irmin irmin.mem irmin.git irmin.fs irmin.http git.unix cohttp.lwt"
Expand All @@ -21,7 +21,7 @@ package "unix" (
)

package "mirage" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires =
"irmin irmin.mem irmin.git irmin.fs irmin.http cohttp.lwt git.mirage"
Expand All @@ -33,7 +33,7 @@ package "mirage" (
)

package "mem" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires = "irmin"
archive(byte) = "irmin-mem.cma"
Expand All @@ -44,7 +44,7 @@ package "mem" (
)

package "http" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires = "irmin cohttp.lwt-core ezjsonm.lwt re re.pcre re.perl"
archive(byte) = "irmin-http.cma"
Expand All @@ -55,7 +55,7 @@ package "http" (
)

package "git" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires = "irmin git"
archive(byte) = "irmin-git.cma"
Expand All @@ -66,7 +66,7 @@ package "git" (
)

package "fs" (
version = "0.11.0"
version = "0.11.1"
description = "A Distributed Version Control Database"
requires = "irmin"
archive(byte) = "irmin-fs.cma"
Expand Down
9 changes: 5 additions & 4 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.4.2 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 31b3c4b86f83682262cec94a98a0b87d) *)
(* DO NOT EDIT (digest: 1c631941ef28f5c2a3671be1c2a239aa) *)
(*
Regenerated by OASIS v0.4.6
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -6884,7 +6884,7 @@ let setup_t =
alpha_features = [];
beta_features = [];
name = "irmin";
version = "0.11.0";
version = "0.11.1";
license =
OASISLicense.DEP5License
(OASISLicense.DEP5Unit
Expand Down Expand Up @@ -7710,14 +7710,15 @@ let setup_t =
};
oasis_fn = Some "_oasis";
oasis_version = "0.4.6";
oasis_digest = Some "×\003a}\002O|°a6'fNtÙ°";
oasis_digest =
Some "\018n\023\145\169\003\205\166[\209\245k\135\214\n\157";
oasis_exec = None;
oasis_setup_args = [];
setup_update = false
};;

let setup () = BaseSetup.setup setup_t;;

# 7722 "setup.ml"
# 7723 "setup.ml"
(* OASIS_STOP *)
let () = setup ();;

0 comments on commit afc128a

Please sign in to comment.