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:
Matthias Krüger 2021-03-14 13:34:28 +01:00
parent a8a7fa8347
commit 5008e56821
3 changed files with 1 additions and 22 deletions

View file

@ -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),