diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-04-21 09:49:31 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-04-21 09:49:31 -0500 |
commit | 3c4ca28a65b7007d25760c762a6723c655a0423f (patch) | |
tree | 116786fcabbaa86eb1cf98aed6d2ef0a186e0003 /python/servo/devenv_commands.py | |
parent | 1d66b090a2b25203f751455d9f0f4985a77ccd64 (diff) | |
parent | f4f465d1b5a1264e630ac0eaed4d1d60c2409081 (diff) | |
download | servo-3c4ca28a65b7007d25760c762a6723c655a0423f.tar.gz servo-3c4ca28a65b7007d25760c762a6723c655a0423f.zip |
Auto merge of #5771 - Manishearth:cargo-update, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5771)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r-- | python/servo/devenv_commands.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index cab3f7ba81f..7caac6e33bd 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -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') |