mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Moved dev ide_setup
to setup/intellij.rs
This commit is contained in:
parent
b286b38a29
commit
0941d9f14d
4 changed files with 4 additions and 3 deletions
|
@ -14,7 +14,7 @@ use walkdir::WalkDir;
|
|||
|
||||
pub mod bless;
|
||||
pub mod fmt;
|
||||
pub mod ide_setup;
|
||||
pub mod setup;
|
||||
pub mod new_lint;
|
||||
pub mod serve;
|
||||
pub mod stderr_length_check;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||
|
||||
use clap::{App, Arg, ArgMatches, SubCommand};
|
||||
use clippy_dev::{bless, fmt, ide_setup, new_lint, serve, stderr_length_check, update_lints};
|
||||
use clippy_dev::{bless, fmt, setup, new_lint, serve, stderr_length_check, update_lints};
|
||||
fn main() {
|
||||
let matches = get_clap_config();
|
||||
|
||||
|
@ -36,7 +36,7 @@ fn main() {
|
|||
("limit_stderr_length", _) => {
|
||||
stderr_length_check::check();
|
||||
},
|
||||
("ide_setup", Some(matches)) => ide_setup::run(matches.value_of("rustc-repo-path")),
|
||||
("ide_setup", Some(matches)) => setup::intellij::run(matches.value_of("rustc-repo-path")),
|
||||
("serve", Some(matches)) => {
|
||||
let port = matches.value_of("port").unwrap().parse().unwrap();
|
||||
let lint = matches.value_of("lint");
|
||||
|
|
1
clippy_dev/src/setup/mod.rs
Normal file
1
clippy_dev/src/setup/mod.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub mod intellij;
|
Loading…
Add table
Reference in a new issue