Skip to content

Commit 35f100b

Browse files
committed
update_lints rewrite: Add structure and --print-only
1 parent 2b7a530 commit 35f100b

File tree

8 files changed

+470
-13
lines changed

8 files changed

+470
-13
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ name = "clippy-driver"
3838
test = false
3939
path = "src/driver.rs"
4040

41+
[[bin]]
42+
name = "clippy-dev"
43+
test = false
44+
path = "src/main.rs"
45+
4146
[dependencies]
4247
# begin automatic update
4348
clippy_lints = { version = "0.0.212", path = "clippy_lints" }
@@ -46,6 +51,7 @@ regex = "1"
4651
semver = "0.9"
4752

4853
[dev-dependencies]
54+
clippy_dev = { version = "0.0.1", path = "clippy_dev" }
4955
cargo_metadata = "0.6"
5056
compiletest_rs = "0.3.7"
5157
lazy_static = "1.0"

clippy_dev/.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Used by Travis to be able to push:
2+
/.github/deploy_key
3+
out
4+
5+
# Compiled files
6+
*.o
7+
*.d
8+
*.so
9+
*.rlib
10+
*.dll
11+
*.pyc
12+
*.rmeta
13+
14+
# Executables
15+
*.exe
16+
17+
# Generated by Cargo
18+
Cargo.lock
19+
/target
20+
/clippy_lints/target
21+
/clippy_workspace_tests/target
22+
23+
# Generated by dogfood
24+
/target_recur/
25+
26+
# gh pages docs
27+
util/gh-pages/lints.json
28+
29+
# rustfmt backups
30+
*.rs.bk
31+
32+
helper.txt
33+
*.iml
34+
.vscode
35+
.idea
36+
37+
# Used by the Clippy build script
38+
min_version.txt

clippy_dev/Cargo.lock

Lines changed: 215 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clippy_dev/Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "clippy_dev"
3+
version = "0.0.1"
4+
authors = ["Philipp Hansch <[email protected]>"]
5+
6+
[dependencies]
7+
clap = "~2.32"
8+
regex = "1"
9+
lazy_static = "1.0"

0 commit comments

Comments
 (0)