Moved dev ide_setup to setup/intellij.rs

This commit is contained in:
xFrednet 2021-06-10 20:45:03 +02:00 committed by flip1995
parent b286b38a29
commit 0941d9f14d
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5
4 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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");

View file

@ -0,0 +1 @@
pub mod intellij;