Skip to content

Commit

Permalink
Skip tutorial blocks testing the Hiredis backend
Browse files Browse the repository at this point in the history
These blocks fail to run on ocaml-ci:
#7 (comment).
This issue should be investigated in future.
  • Loading branch information
craigfe committed Sep 17, 2019
1 parent ee6cc15 commit 88b96c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/tutorial/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ module KV: Irmin.KV_MAKER = functor (C: Irmin.Contents.S) ->

We also have to provide a configuration for our backend specifying the parameters needed when initialising a store. In our example, we start with an empty configuration, which comes with `root` as a parameter. We can then instantiate the store and create a repo:

```ocaml
```ocaml skip
let config ?(config = Irmin.Private.Conf.empty) ?root () =
let module C = Irmin.Private.Conf in
C.add config C.root root
Expand All @@ -310,7 +310,7 @@ $ redis-server /usr/local/etc/redis.conf

or we can run the server from OCaml:

```ocaml
```ocaml skip
let start_server () =
let config = [("port", ["6379"]); ("daemonize", ["no"])] in
let server = Hiredis.Shell.Server.start ~config 6379 in
Expand Down

0 comments on commit 88b96c2

Please sign in to comment.