New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_lints rewrite: Add structure and --print-only #2985

Merged
merged 10 commits into from Sep 6, 2018
Copy path View file
@@ -19,6 +19,7 @@ Cargo.lock
/target
/clippy_lints/target
/clippy_workspace_tests/target
/clippy_dev/target
# Generated by dogfood
/target_recur/
@@ -33,6 +34,3 @@ helper.txt
*.iml
.vscode
.idea
# Used by the Clippy build script
min_version.txt
Copy path View file
@@ -38,6 +38,11 @@ name = "clippy-driver"
test = false
path = "src/driver.rs"
[[bin]]
name = "clippy-dev"
test = false
path = "src/main.rs"
[dependencies]
# begin automatic update
clippy_lints = { version = "0.0.212", path = "clippy_lints" }
@@ -46,6 +51,7 @@ regex = "1"
semver = "0.9"
[dev-dependencies]
clippy_dev = { version = "0.0.1", path = "clippy_dev" }
cargo_metadata = "0.6"
compiletest_rs = "0.3.7"
lazy_static = "1.0"
Copy path View file
@@ -19,6 +19,7 @@ cd clippy_workspace_tests && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clip
cd clippy_workspace_tests/src && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy::all && cd ../..
cd clippy_workspace_tests/subcrate && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy::all && cd ../..
cd clippy_workspace_tests/subcrate/src && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy::all && cd ../../..
cd clippy_dev && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy::all && cd ..
# test --manifest-path
PATH=$PATH:~/rust/cargo/bin cargo clippy --manifest-path=clippy_workspace_tests/Cargo.toml -- -D clippy::all
cd clippy_workspace_tests/subcrate && PATH=$PATH:~/rust/cargo/bin cargo clippy --manifest-path=../Cargo.toml -- -D clippy::all && cd ../..
Copy path View file

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Copy path View file
@@ -0,0 +1,10 @@
[package]
name = "clippy_dev"
version = "0.0.1"
authors = ["Philipp Hansch <dev@phansch.net>"]
[dependencies]
clap = "~2.32"
itertools = "0.7"
regex = "1"
lazy_static = "1.0"
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.