Build information library for monopam tools.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

*: declare missing :with-test deps (lint sweep, batch 1)

Add the [(<lib> :with-test)] entries that the new monopam test-scope
lint check flagged as missing -- packages where a [test] stanza
referenced a library but the corresponding opam dep wasn't declared.
Local builds worked because dune sees the union of all deps;
[opam install --with-test] from a fresh switch would fail.

This batch:

- ca-certs add vlog (test/test.ml uses Vlog.setup_test); also
drop the stale [(nox-tls :with-test)] flagged as
unused.
- dupfind add alcotest (test runner).
- monopam add alcotest, astring, merge3 (used in test/).
- monopam-info add alcotest; drop the stale [(fmt :with-test)]
flagged as unused.

Each verified by [dune build] + [dune runtest] before moving on.

Remaining packages with [missing :with-test] reports follow in
subsequent batches; none of them are subtleties, just mechanical
sweeps of the ~40 packages whose tests reference libraries that
weren't declared with the right scope.

+3 -3
+2 -2
dune-project
··· 17 17 (ocaml (>= 5.0)) 18 18 (dune (>= 3.0)) 19 19 (mdx :with-test) 20 + (alcotest :with-test) 20 21 dune-build-info 21 22 eio 22 23 fpath 23 - nox-dune 24 - (fmt :with-test)) 24 + nox-dune) 25 25 )
+1 -1
monopam-info.opam
··· 11 11 "ocaml" {>= "5.0"} 12 12 "dune" {>= "3.21" & >= "3.0"} 13 13 "mdx" {with-test} 14 + "alcotest" {with-test} 14 15 "dune-build-info" 15 16 "eio" 16 17 "fpath" 17 18 "nox-dune" 18 - "fmt" {with-test} 19 19 "odoc" {with-doc} 20 20 ] 21 21 build: [