Skip to content

Commit 655ae27

Browse files
committed
Defensively fix the patdiff dependency
1 parent 8d8a38a commit 655ae27

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dune-project

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@
107107
ppx_expect
108108
(ppx_minidebug
109109
(>= 2.0.0))
110-
(patdiff :with-test)
110+
; Cannot make it (patdiff :with-test), because `dune build -p neural_nets_lib @install`
111+
; builds the tutorials target from dune/test, despite it being inline_tests!
112+
(patdiff (>= v0.15.0))
111113
(odoc :with-doc)
112114
(md2mld :with-doc))
113115
(tags

neural_nets_lib.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ depends: [
2828
"ppx_jane"
2929
"ppx_expect"
3030
"ppx_minidebug" {>= "2.0.0"}
31-
"patdiff" {with-test}
31+
"patdiff" {>= "v0.15.0"}
3232
"odoc" {with-doc}
3333
"md2mld" {with-doc}
3434
]

0 commit comments

Comments
 (0)