mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Add self-analysis-stats to metrics
This commit is contained in:
parent
a09a00a560
commit
101cdc57c2
2 changed files with 43 additions and 22 deletions
|
@ -15,7 +15,7 @@ use xtask::{
|
|||
codegen::{self, Mode},
|
||||
dist::DistCmd,
|
||||
install::{ClientOpt, InstallCmd, Malloc, ServerOpt},
|
||||
metrics::run_metrics,
|
||||
metrics::MetricsCmd,
|
||||
not_bash::pushd,
|
||||
pre_commit, project_root,
|
||||
release::{PromoteCmd, ReleaseCmd},
|
||||
|
@ -118,7 +118,11 @@ FLAGS:
|
|||
args.finish()?;
|
||||
DistCmd { nightly, client_version }.run()
|
||||
}
|
||||
"metrics" => run_metrics(),
|
||||
"metrics" => {
|
||||
let dry_run = args.contains("--dry-run");
|
||||
args.finish()?;
|
||||
MetricsCmd { dry_run }.run()
|
||||
}
|
||||
_ => {
|
||||
eprintln!(
|
||||
"\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue