mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
This change moves the lockfile instructions into a script, and instead of removing packages it sets the Conan home directory to a temporary directory. There are several advantages, such as: * Not affecting the user's Conan home directory, so there is no need to remove packages. * Only the script needs to be run, rather than several commands.
532 B
532 B
Conan lockfile
To achieve reproducible dependencies, we use a Conan lockfile.
The conan.lock file in the repository contains a "snapshot" of the current
dependencies. It is implicitly used when running conan commands, so you don't
need to specify it.
You have to update this file every time you add a new dependency or change a revision or version of an existing dependency.
To update a lockfile, run from the repository root: ./conan/lockfile/regenerate.sh