Symfony2:只更新一个供应商包 [英] Symfony2: updating just one vendor bundle

查看:170
本文介绍了Symfony2:只更新一个供应商包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有方法只更新一个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:只更新一个供应商包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆