From 09688e3e569a0a0e41087a34810010375f55de05 Mon Sep 17 00:00:00 2001 From: "Ryan M. Moore" Date: Sat, 11 Sep 2021 18:15:45 -0400 Subject: [PATCH] Specify with-test deps --- bio_io.opam | 10 +++++----- dune-project | 15 +++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/bio_io.opam b/bio_io.opam index 7e10a10..7e12c0b 100644 --- a/bio_io.opam +++ b/bio_io.opam @@ -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: [ diff --git a/dune-project b/dune-project index 90fc426..c404c76 100644 --- a/dune-project +++ b/dune-project @@ -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))))