This tool allows users to install, manage and update dependencies. See the example to see how it works. Full disclaimer, this has been a pet personal project used to learn Rust.
vendor init
initialises a.vendor.yml
file in the working directoryvendor add
adds a dependency in the.vendor.yml
filevendor install
downloads and vendors the vendor the specified dependencies- The first time this command is executed, it will generate a
.vendor-lock.yml
which keeps track of the locked reference that has been vendored (eg. a specific commit) - If the lock file is already present, it will vendor the depencies locked to whatever reference the dependency is locked at
- The first time this command is executed, it will generate a
vendor update
ignores thevendor-lock.yml
and fetches newest dependencies according to the refname that is specified in the.vendor.yml
file