mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Share cache cleaning logic between OSes
This commit is contained in:
parent
5e7995eeb7
commit
6a7db8c701
3 changed files with 49 additions and 22 deletions
|
@ -14,7 +14,7 @@ use pico_args::Arguments;
|
|||
use xtask::{
|
||||
codegen::{self, Mode},
|
||||
install::{ClientOpt, InstallCmd, ServerOpt},
|
||||
pre_commit, run_clippy, run_fuzzer, run_rustfmt, Result,
|
||||
pre_commit, run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result,
|
||||
};
|
||||
|
||||
fn main() -> Result<()> {
|
||||
|
@ -88,6 +88,10 @@ FLAGS:
|
|||
args.finish()?;
|
||||
run_fuzzer()
|
||||
}
|
||||
"pre-cache" => {
|
||||
args.finish()?;
|
||||
run_pre_cache()
|
||||
}
|
||||
_ => {
|
||||
eprintln!(
|
||||
"\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue