问题描述
有没有方法只更新一个bundle而不更新deps文件中的每个bundle?我目前使用php vendors install来安装所有的供应商包,并且不知道一次只能更新一个包的任何命令。
1)只需打开您的deps文件(./deps)
2)删除除了要更新的文件夹以外的所有文件夹并保存deps文件
3)让我们运行命令:php bin / vendors update
p>
4)返回您的deps文件并重写所有以前删除的捆绑线!
干杯! >
Is there a way to update just one bundle without updating every bundle in your deps file? I am currently using "php vendors install" to install all vendor bundles and am not aware of any commands that will update just one bundle at a time.
1) Just open your deps file (./deps)
2) Remove all bundles except the one you want to update and save the deps file
3) Let's run the command: php bin/vendors update
It will update the bundle.
4) Go back in your deps file and rewrite all the previous removed bundle lines !
Cheers !
这篇关于Symfony2:只更新一个供应商包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!