Remove 2 suffix for ai, zed_actions, install_ci, feature_flags
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
ecbd115542
commit
4ddb26204f
60 changed files with 282 additions and 2867 deletions
|
@ -14,5 +14,5 @@ test-support = []
|
|||
smol.workspace = true
|
||||
anyhow.workspace = true
|
||||
log.workspace = true
|
||||
gpui = { path = "../gpui" }
|
||||
gpui = { path = "../gpui2", package = "gpui2" }
|
||||
util = { path = "../util" }
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
use std::path::Path;
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
use gpui::{actions, AsyncAppContext};
|
||||
use std::path::Path;
|
||||
use util::ResultExt;
|
||||
|
||||
actions!(cli, [Install]);
|
||||
|
||||
pub async fn install_cli(cx: &AsyncAppContext) -> Result<()> {
|
||||
let cli_path = cx.platform().path_for_auxiliary_executable("cli")?;
|
||||
let cli_path = cx.update(|cx| cx.path_for_auxiliary_executable("cli"))??;
|
||||
let link_path = Path::new("/usr/local/bin/zed");
|
||||
let bin_dir_path = link_path.parent().unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue