Skip to content

Commit

Permalink
feat: impl install_cargo_expand
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Nov 27, 2023
1 parent 2c37e82 commit 7494ab6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frb_codegen/src/library/commands/cargo_expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ fn run_cargo_expand(rust_crate_dir: &Path, dumper: &Dumper) -> Result<String> {
}

fn install_cargo_expand() -> Result<()> {
TODO
execute_command("cargo", &vec!["install", "expand"], None)?;
Ok(())
}

#[cfg(test)]
Expand Down

0 comments on commit 7494ab6

Please sign in to comment.