package locswijch

  1. Overview
  2. No Docs
Bidirectional bridge between dune pkg and opam switches

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=f3a837b456a1557bcd00a17c3f3c4dae
sha512=aabd23d0618cbc5a0c5f62792801b0283d7a9607d79eefa525581e1e089b47924708b9ed2e25297180a7743a062d518eb9013ce5d08686ed56f73cdc045e8cfb

Description

dune pkg stores built packages in _build/.pkg/, invisible to the standard opam switch mechanism that tools like ocamllsp, merlin, and utop rely on. locswijch mirrors those built artifacts into a real opam switch using hard links, so editor tooling works unchanged, and the switch doubles as a backup of dune.lock/ and _build/.pkg/ that survives dune clean. Subcommands: sync (project to switch), restore (switch to project), migrate (opam switch to dune.lock/), and trip (end-to-end round-trip test).

Added to opam-repository:

Dependencies (4)

  1. opam-file-format >= "2.1.3"
  2. cmdliner >= "1.1.0"
  3. dune >= "3.0"
  4. ocaml >= "4.14.0"

Dev Dependencies

None

Used by

None

Conflicts

None