Skip to content

Commit

Permalink
Specify with-test deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreryan committed Sep 11, 2021
1 parent 00f28d8 commit 09688e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
10 changes: 5 additions & 5 deletions bio_io.opam
Expand Up @@ -11,15 +11,15 @@ doc: "https://mooreryan.github.io/bio_io/"
bug-reports: "https://github.com/mooreryan/bio_io/issues"
depends: [
"dune" {>= "2.8"}
"bisect_ppx" {dev}
"core" {>= "v0.12" & dev}
"core_bench" {>= "v0.12" & dev}
"ppx_expect" {>= "v0.12" & dev}
"ppx_inline_test" {>= "v0.12" & dev}
"base" {>= "v0.12"}
"ppx_sexp_conv" {>= "v0.12"}
"ocaml" {>= "4.08.0"}
"stdio" {>= "v0.12"}
"bisect_ppx" {dev}
"core" {>= "v0.12" & dev}
"core_bench" {>= "v0.12" & dev}
"ppx_expect" {>= "v0.12" & with-test}
"ppx_inline_test" {>= "v0.12" & with-test}
"odoc" {with-doc}
]
build: [
Expand Down
15 changes: 9 additions & 6 deletions dune-project
Expand Up @@ -16,12 +16,15 @@
(bug_reports "https://github.com/mooreryan/bio_io/issues")
(synopsis "A library for reading and writing common file formats used in bioinformatics like FASTA files")
(depends
(bisect_ppx :dev)
(core (and (>= "v0.12") :dev))
(core_bench (and (>= "v0.12") :dev))
(ppx_expect (and (>= "v0.12") :dev))
(ppx_inline_test (and (>= "v0.12") :dev))
; Runtime dependencies
(base (>= "v0.12"))
(ppx_sexp_conv (>= "v0.12"))
(ocaml (>= "4.08.0"))
(stdio (>= "v0.12"))))
(stdio (>= "v0.12"))
; Development dependencies
(bisect_ppx :dev)
(core (and (>= "v0.12") :dev))
(core_bench (and (>= "v0.12") :dev))
; Test-only dependencies
(ppx_expect (and (>= "v0.12") :with-test))
(ppx_inline_test (and (>= "v0.12") :with-test))))

0 comments on commit 09688e3

Please sign in to comment.