aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/flags.rs
diff options
context:
space:
mode:
authorMatthias Krüger <[email protected]>2021-03-14 12:34:28 +0000
committerMatthias Krüger <[email protected]>2021-03-14 12:36:45 +0000
commit5008e5682159965c6f3b174aed3523c0b5e2fc08 (patch)
tree717c195e1ea7894c25d62cdab0b6c4526585eba1 /xtask/src/flags.rs
parenta8a7fa834726eb763fe872b02db821f99098a498 (diff)
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.
Diffstat (limited to 'xtask/src/flags.rs')
-rw-r--r--xtask/src/flags.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/xtask/src/flags.rs b/xtask/src/flags.rs
index 48d1ad45e..4cd2b1ddb 100644
--- a/xtask/src/flags.rs
+++ b/xtask/src/flags.rs
@@ -27,7 +27,6 @@ xflags::xflags! {
27 optional --jemalloc 27 optional --jemalloc
28 } 28 }
29 29
30 cmd lint {}
31 cmd fuzz-tests {} 30 cmd fuzz-tests {}
32 cmd pre-cache {} 31 cmd pre-cache {}
33 32
@@ -63,7 +62,6 @@ pub struct Xtask {
63pub enum XtaskCmd { 62pub enum XtaskCmd {
64 Help(Help), 63 Help(Help),
65 Install(Install), 64 Install(Install),
66 Lint(Lint),
67 FuzzTests(FuzzTests), 65 FuzzTests(FuzzTests),
68 PreCache(PreCache), 66 PreCache(PreCache),
69 Release(Release), 67 Release(Release),