Skip to content

Commit

Permalink
Merge pull request 'Update the layout of miou to avoid any trickery f…
Browse files Browse the repository at this point in the history
…rom dune' (#57) from layout into main

Reviewed-on: https://git.robur.coop/robur/miou/pulls/57
  • Loading branch information
dinosaure committed May 13, 2024
2 parents ed5087b + 078a5f8 commit eaa397e
Show file tree
Hide file tree
Showing 36 changed files with 140 additions and 838 deletions.
24 changes: 13 additions & 11 deletions B0.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
open B0_kit.V000

[@@@ocamlformat "disable"]

let ( ~/ ) x = Fpath.v x
let unix = B0_ocaml.libname "unix"
let miou = B0_ocaml.libname "miou"
Expand All @@ -8,27 +10,27 @@ let miou_backoff = B0_ocaml.libname "miou.backoff"
let miou_sync = B0_ocaml.libname "miou.sync"

let miou_backoff_lib =
let srcs = [ `File ~/"lib/backoff.ml"; `File ~/"lib/backoff.mli" ] in
let srcs = [ `File ~/"lib/miou_backoff.ml"; `File ~/"lib/miou_backoff.mli" ] in
let requires = [] in
B0_ocaml.lib miou_backoff ~srcs ~requires

let miou_sync_lib =
let srcs = [ `File ~/"lib/sync.ml"; `File ~/"lib/sync.mli" ] in
let srcs = [ `File ~/"lib/miou_sync.ml"; `File ~/"lib/miou_sync.mli" ] in
let requires = [ miou_backoff ] in
B0_ocaml.lib miou_sync ~srcs ~requires

let[@ocamlformat "disable"] miou_lib =
let srcs =
[
`File ~/"lib/miou.mli"; `File ~/"lib/miou.ml"
; `File ~/"lib/logs.mli"; `File ~/"lib/logs.ml"
; `File ~/"lib/pqueue.mli"; `File ~/"lib/pqueue.ml"
; `File ~/"lib/vector.mli"; `File ~/"lib/vector.ml"
; `File ~/"lib/sequence.mli"; `File ~/"lib/sequence.ml"
; `File ~/"lib/queue.mli"; `File ~/"lib/queue.ml"
; `File ~/"lib/state.mli"; `File ~/"lib/state.ml"
; `File ~/"lib/fmt.mli"; `File ~/"lib/fmt.ml"
; `File ~/"lib/gen.mli"; `File ~/"lib/gen.ml"
; `File ~/"lib/miou_logs.mli"; `File ~/"lib/miou_logs.ml"
; `File ~/"lib/miou_pqueue.mli"; `File ~/"lib/miou_pqueue.ml"
; `File ~/"lib/miou_vector.mli"; `File ~/"lib/miou_vector.ml"
; `File ~/"lib/miou_sequence.mli"; `File ~/"lib/miou_sequence.ml"
; `File ~/"lib/miou_queue.mli"; `File ~/"lib/miou_queue.ml"
; `File ~/"lib/miou_state.mli"; `File ~/"lib/miou_state.ml"
; `File ~/"lib/miou_fmt.mli"; `File ~/"lib/miou_fmt.ml"
; `File ~/"lib/miou_gen.mli"; `File ~/"lib/miou_gen.ml"
]
in
let requires = [ miou_backoff; miou_sync ] in
Expand All @@ -40,4 +42,4 @@ let miou_unix_lib =
B0_ocaml.lib miou_unix ~doc:"The Miou unix library" ~srcs ~requires

let default =
B0_pack.v "miou" ~doc:"The Miou package" ~locked:true @@ B0_unit.list ()
B0_pack.make "miou" ~doc:"The Miou package" ~locked:true @@ B0_unit.list ()
15 changes: 0 additions & 15 deletions happy/README.md

This file was deleted.

1 change: 0 additions & 1 deletion happy/dns_miou.ml

This file was deleted.

32 changes: 0 additions & 32 deletions happy/dune

This file was deleted.

19 changes: 0 additions & 19 deletions happy/happy.c

This file was deleted.

Loading

0 comments on commit eaa397e

Please sign in to comment.