File tree Expand file tree Collapse file tree 3 files changed +5
-90
lines changed Expand file tree Collapse file tree 3 files changed +5
-90
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " lintcheck"
3
3
version = " 0.0.1"
4
- authors = [
" Matthias Krüger <[email protected] > " ]
4
+ authors = [" The Rust Clippy Developers " ]
5
5
edition = " 2018"
6
6
7
7
[dependencies ]
Original file line number Diff line number Diff line change 1
- # Clippy Dev Tool
2
-
3
- The Clippy Dev Tool is a tool to ease Clippy development, similar to ` rustc ` s
4
- ` x.py ` .
5
-
6
- Functionalities (incomplete):
7
-
8
- ## ` lintcheck `
1
+ ## ` cargo lintcheck `
9
2
10
3
Runs clippy on a fixed set of crates read from
11
- ` clippy_dev /lintcheck_crates.toml` and saves logs of the lint warnings into the
4
+ ` lintcheck /lintcheck_crates.toml` and saves logs of the lint warnings into the
12
5
repo. We can then check the diff and spot new or disappearing warnings.
13
6
14
7
From the repo root, run:
15
8
16
9
```
17
- cargo run --target-dir clippy_dev/target --package clippy_dev \
18
- --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --features lintcheck -- lintcheck
10
+ cargo run --target-dir lintcheck/target --manifest-path lintcheck/Cargo.toml
19
11
```
20
12
21
13
or
22
14
23
15
```
24
- cargo dev- lintcheck
16
+ cargo lintcheck
25
17
```
26
18
27
19
By default the logs will be saved into
You can’t perform that action at this time.
0 commit comments