mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
xtask: replace "lint" command by a simply cargo alias
This strips the run_clippy implementation out of xtask and replaces it by a simple "cargo lint" alias which runs clippy with the corresponding flags. Unfortunately I could not name the alias "clippy" because that would lead to infinite recursion.
This commit is contained in:
parent
a8a7fa8347
commit
5008e56821
3 changed files with 1 additions and 22 deletions
|
@ -27,7 +27,6 @@ xflags::xflags! {
|
|||
optional --jemalloc
|
||||
}
|
||||
|
||||
cmd lint {}
|
||||
cmd fuzz-tests {}
|
||||
cmd pre-cache {}
|
||||
|
||||
|
@ -63,7 +62,6 @@ pub struct Xtask {
|
|||
pub enum XtaskCmd {
|
||||
Help(Help),
|
||||
Install(Install),
|
||||
Lint(Lint),
|
||||
FuzzTests(FuzzTests),
|
||||
PreCache(PreCache),
|
||||
Release(Release),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue