mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Switch from not_bash to xshell
This commit is contained in:
parent
f0412da4a2
commit
49a90d4c31
14 changed files with 181 additions and 325 deletions
|
@ -12,12 +12,12 @@ use std::env;
|
|||
|
||||
use codegen::CodegenCmd;
|
||||
use pico_args::Arguments;
|
||||
use xshell::pushd;
|
||||
use xtask::{
|
||||
codegen::{self, Mode},
|
||||
dist::DistCmd,
|
||||
install::{ClientOpt, InstallCmd, Malloc, ServerOpt},
|
||||
metrics::MetricsCmd,
|
||||
not_bash::pushd,
|
||||
pre_cache::PreCacheCmd,
|
||||
pre_commit, project_root,
|
||||
release::{PromoteCmd, ReleaseCmd},
|
||||
|
@ -29,7 +29,7 @@ fn main() -> Result<()> {
|
|||
return pre_commit::run_hook();
|
||||
}
|
||||
|
||||
let _d = pushd(project_root());
|
||||
let _d = pushd(project_root())?;
|
||||
|
||||
let mut args = Arguments::from_env();
|
||||
let subcommand = args.subcommand()?.unwrap_or_default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue