Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0941d9f

Browse files
xFrednetflip1995
authored andcommitted
Moved dev ide_setup to setup/intellij.rs
1 parent b286b38 commit 0941d9f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

clippy_dev/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use walkdir::WalkDir;
1414

1515
pub mod bless;
1616
pub mod fmt;
17-
pub mod ide_setup;
17+
pub mod setup;
1818
pub mod new_lint;
1919
pub mod serve;
2020
pub mod stderr_length_check;

clippy_dev/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![warn(rust_2018_idioms, unused_lifetimes)]
44

55
use clap::{App, Arg, ArgMatches, SubCommand};
6-
use clippy_dev::{bless, fmt, ide_setup, new_lint, serve, stderr_length_check, update_lints};
6+
use clippy_dev::{bless, fmt, setup, new_lint, serve, stderr_length_check, update_lints};
77
fn main() {
88
let matches = get_clap_config();
99

@@ -36,7 +36,7 @@ fn main() {
3636
("limit_stderr_length", _) => {
3737
stderr_length_check::check();
3838
},
39-
("ide_setup", Some(matches)) => ide_setup::run(matches.value_of("rustc-repo-path")),
39+
("ide_setup", Some(matches)) => setup::intellij::run(matches.value_of("rustc-repo-path")),
4040
("serve", Some(matches)) => {
4141
let port = matches.value_of("port").unwrap().parse().unwrap();
4242
let lint = matches.value_of("lint");
File renamed without changes.

clippy_dev/src/setup/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub mod intellij;

0 commit comments

Comments
 (0)