aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-09-17 02:33:35 -0400
committerJosh Matthews <josh@joshmatthews.net>2014-09-17 02:33:35 -0400
commitaa935c7b027bf00bf1f6756b0f5e1f4d0866c964 (patch)
treee08a07702eb69ce6a559a82559e47d96eee3595c
parent4a1d51b98207078fc4b65a6a55f10a34d56c6019 (diff)
parentb0cd45e2da6b00c69703b528083624a0c82fb50b (diff)
downloadservo-aa935c7b027bf00bf1f6756b0f5e1f4d0866c964.tar.gz
servo-aa935c7b027bf00bf1f6756b0f5e1f4d0866c964.zip
Merge pull request #3382 from saneyuki/mach
Fix `mach cargo` is missing
-rw-r--r--python/servo/devenv_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index b44894395e6..402c18f2767 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -27,7 +27,7 @@ class MachCommands(CommandBase):
allow_all_args=True)
@CommandArgument('params', default=None, nargs='...',
help="Command-line arguments to be passed through to Cargo")
- def run(self, params):
+ def cargo(self, params):
return subprocess.call(["cargo"] + params,
env=self.build_env())
@@ -37,5 +37,5 @@ class MachCommands(CommandBase):
allow_all_args=True)
@CommandArgument('params', default=None, nargs='...',
help="Command-line arguments to be passed through to rustc")
- def run(self, params):
+ def rustc(self, params):
return subprocess.call(["rustc"] + params, env=self.build_env())