Closed mroach closed 9 years ago
:+1:
There's an official Capistrano extension to generically handle this use case: https://github.com/capistrano/copy-files
@swalkinshaw Would you accept a pull request adding instructions to the README on how to use copy-files then to achieve this? I can't imagine I'm alone in finding the dependency install time to be a problem.
@mroach sure, that's a good idea.
Copies the vendor/ dir from the previous release. This can bring a significant reduction in deploy time when there are many dependencies. Note that using this feature makes vendor/ cumulative. That is, as packages are dropped they will not be automatically removed from vendor/ on deploy.
Adapted for Capistrano 3 from http://capifony.org/cookbook/speeding-up-deploy.html