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
4 changed files with 4 additions and 3 deletions

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