Duplicate code detection across OCaml packages
0
fork

Configure Feed

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

Skip MDX execution on opam install README blocks

The READMEs all share the standard install/overlay snippet, but the
sh blocks lacked the "<!-- $MDX skip -->" directive. `dune test`
would shell out to `opam install` against the live switch, which
either prompts interactively or fails with a package conflict —
either way diffing as a test failure.

Bulk-add skip directives in front of every install/overlay block.
Also collapse the doubled "non-deterministic + skip" stack on three
READMEs (memtrace, ocaml-dpop, ocaml-pid1, ocaml-yaml, merlint) where
`skip` already implies the runtime is bypassed.

+6 -4
+6 -4
README.md
··· 19 19 20 20 Install with opam: 21 21 22 + <!-- $MDX skip --> 22 23 ```sh 23 - opam install dupfind 24 + $ opam install dupfind 24 25 ``` 25 26 26 27 If opam cannot find the package, it may not yet be released in the public 27 28 `opam-repository`. Add the overlay repository, then install it: 28 29 30 + <!-- $MDX skip --> 29 31 ```sh 30 - opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 31 - opam update 32 - opam install dupfind 32 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 33 + $ opam update 34 + $ opam install dupfind 33 35 ``` 34 36 35 37 ## Usage