mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Refactor
This commit is contained in:
parent
97ea2dfc4b
commit
cbc5eb8738
2 changed files with 62 additions and 54 deletions
|
@ -17,7 +17,7 @@ use xtask::{
|
|||
install::{ClientOpt, InstallCmd, ServerOpt},
|
||||
not_bash::pushd,
|
||||
pre_commit, project_root,
|
||||
release::run_release,
|
||||
release::ReleaseCmd,
|
||||
run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result,
|
||||
};
|
||||
|
||||
|
@ -103,7 +103,7 @@ FLAGS:
|
|||
"release" => {
|
||||
let dry_run = args.contains("--dry-run");
|
||||
args.finish()?;
|
||||
run_release(dry_run)
|
||||
ReleaseCmd { dry_run }.run()
|
||||
}
|
||||
"dist" => {
|
||||
let nightly = args.contains("--nightly");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue