Open jasperblues opened 12 years ago
This is similar to the command bundle update
. So the idea would be you could type: vendor update
Do you think the command should attempt to update the source found within the application, as long as no modifications have been made against the previous version?
I currently blow away the git cache directory in .vendor on my CI machine to make sure I get the latest code. It would be better to have a Vendorfile.lock that, similar to Bundler, pins you to a specific commit/version, so your local and CI builds don't use different code.
Let's say you have a library module that's shared by several other modules. (iOS and OSX to complicate things).
It's great to use Vendor to do continuous integration, especially with the feature that allows pulling straight from git. (Or alternatively the CI server could publish the library module on successful builds).
When using git, t's necessary to to a git pull or clean the ${user.home}/.vendor directory. It would be great to mark a library as requiring the latest version available.