зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #5771 - Alias cargo-update to update-cargo (from Manishearth:cargo-update); r=jdm
Source-Repo: https://github.com/servo/servo Source-Revision: 3c4ca28a65b7007d25760c762a6723c655a0423f
This commit is contained in:
Родитель
2a44702239
Коммит
c9793648ae
|
@ -31,6 +31,15 @@ class MachCommands(CommandBase):
|
|||
return subprocess.call(['cargo'] + params,
|
||||
env=self.build_env())
|
||||
|
||||
@Command('cargo-update',
|
||||
description='Same as update-cargo',
|
||||
category='devenv')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help='Command-line arguments to be passed through to cargo update')
|
||||
def cargo_update(self, params=None):
|
||||
self.update_cargo(params)
|
||||
|
||||
@Command('update-cargo',
|
||||
description='Update Cargo dependencies',
|
||||
category='devenv')
|
||||
|
|
Загрузка…
Ссылка в новой задаче