vv vendor
Copies all dependencies into a local .vv-modules directory. This is useful for ensuring
reproducible builds without relying on external network access.
vv vendor
Project Integrity with vv.mod
When you run vv vendor without arguments, it perform the following actions:
- Dependency Discovery: Recursively scans all
.vvfiles in your project to find every imported remote module. - Local Copying: Copies these modules from your global
$VVPATH/.cacheinto the project's.vv-modulesdirectory. - Locking: Creates (or updates) a
vv.modfile at your project root.
The vv.mod file acts as a lock file. It contains cryptographic checksums for
every file in the .vv-modules directory, ensuring that your dependencies haven't been tampered
with or accidentally modified.