Monorepo management for opam overlays
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.

+6
+3
dune-project
··· 43 43 vlog 44 44 (odoc :with-doc) 45 45 (mdx :with-test) 46 + (alcotest :with-test) 47 + (astring :with-test) 48 + (merge3 :with-test) 46 49 nox-loc)) 47 50
+3
monopam.opam
··· 39 39 "vlog" 40 40 "odoc" {with-doc} 41 41 "mdx" {with-test} 42 + "alcotest" {with-test} 43 + "astring" {with-test} 44 + "merge3" {with-test} 42 45 "nox-loc" 43 46 ] 44 47 build: [