diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-21 11:49:00 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-21 11:50:36 +0100 |
commit | 63c4490e7374d4bc2f86f7c0c05c0a57da8c417d (patch) | |
tree | 2c209c918dcc9d296296021d1ce490aed7224004 /python/servo/devenv_commands.py | |
parent | e973b2958d9863f2f9fba8fb8641e42202dc940b (diff) | |
download | servo-63c4490e7374d4bc2f86f7c0c05c0a57da8c417d.tar.gz servo-63c4490e7374d4bc2f86f7c0c05c0a57da8c417d.zip |
Kill the plugins crate and its clippy support
Sometimes clippy gets outdated by months, and its current support setup
means that each Servo component need to opt into it by depending on
the plugins crate manually, and not all components do that.
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r-- | python/servo/devenv_commands.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index e2acab9b979..bb5ed6d2704 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -10,7 +10,6 @@ from __future__ import print_function, unicode_literals from os import path, getcwd, listdir -import subprocess import sys from mach.decorators import ( @@ -87,26 +86,6 @@ class MachCommands(CommandBase): call(["cargo", "update"] + params, env=self.build_env()) - @Command('clippy', - description='Run Clippy', - category='devenv') - @CommandArgument( - '--package', '-p', default=None, - help='Updates the selected package') - @CommandArgument( - '--json', '-j', action="store_true", - help='Outputs') - def clippy(self, package=None, json=False): - params = ["--features=clippy"] - if package: - params += ["-p", package] - if json: - params += ["--", "-Zunstable-options", "--error-format", "json"] - - with cd(path.join(self.context.topdir, "components", "servo")): - return subprocess.call(["cargo", "rustc", "-v"] + params, - env=self.build_env()) - @Command('rustc', description='Run the Rust compiler', category='devenv') |