package opam-monorepo
Assemble and manage fully vendored Dune repositories
Install
Dune Dependency
Authors
Maintainers
Sources
opam-monorepo-0.3.4.tbz
sha256=cadc320f08ce8c3ab974d9d17b1c6330516355a69de24aa1fa780237d9618d5e
sha512=d06dff795f3ed7e38e5ed9b3594674db7cbcf18c199d76f7ff583ce341504394ed979544b2440efcc297b45e7b970d802490008e70e39b7db295ce72125afb3a
doc/concepts.html
Concepts
An opam-monorepo
project uses 3 components in the source tree:
- a set of opam files containing specifications about the dependencies (for example, a dependency on
lwt >= 4.0.0
) - a lock file (with extension
.opam.locked
) containing references to exact dependencies (for example,lwt = 4.2.1
) and how to get them (URLs, hashes, etc.). It also contains information about transitive dependencies, not just the ones mentioned in opam files. - a
duniverse
folder containing the sources for all the packages mentioned in the lock file
The two important commands are:
opam monorepo lock
, which will read the opam file and compute a solution using the opam repository and the opam solver. It will create or update the lock file with this solution.opam monorepo pull
will read the lock file, download the dependencies, and unpack them into theduniverse/
folder.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>