pub fn generate_typescript_libraries(project_path: &Path) -> Result<()> {
    let _compiled_package = deploy::build_move_packages(project_path)?;

    let pkg_path = project_path.join(MAIN_PKG_PATH);
    let target_dir = pkg_path.join("generated");
    let installer = serdegen::typescript::Installer::new(target_dir.clone());
    generate_runtime(&installer)?;
    generate_transaction_builders(&pkg_path, &target_dir)?;
    Ok(())
}
/// Generates the typescript bindings for the main Move package based on the embedded
/// diem types and Move stdlib. Mimics much of the transaction_builder_generator's CLI
/// except with typescript defaults and embedded content, as opposed to repo directory paths.
Generates the typescript bindings for the main Move package based on the embedded
diem types and Move stdlib. Mimics much of the transaction_builder_generator's CLI
except with typescript defaults and embedded content, as opposed to repo directory paths.
Generates the typescript bindings for the main Move package based on the embedded diem types and Move stdlib . Mimics much of the transaction_builder_generator ' s CLI except with typescript defaults and embedded content as opposed to repo directory paths .
pub fn generate_typescript_libraries(project_path: &Path) -> Result<()> {
    let _compiled_package = deploy::build_move_packages(project_path)?;
    let pkg_path = project_path.join(MAIN_PKG_PATH);
    let target_dir = pkg_path.join("generated");
    let installer = serdegen::typescript::Installer::new(target_dir.clone());
    generate_runtime(&installer)?;
    generate_transaction_builders(&pkg_path, &target_dir)?;
    Ok(())
}
pub fn generate_typescript_libraries ( project_path : & Path ) -> Result < ( ) > { let _compiled_package = deploy :: build_move_packages ( project_path ) ? ; let pkg_path = project_path . join ( MAIN_PKG_PATH ) ; let target_dir = pkg_path . join ( " " ) ; let installer = serdegen :: typescript :: Installer :: new ( target_dir . clone ( ) ) ; generate_runtime ( & installer ) ? ; generate_transaction_builders ( & pkg_path , & target_dir ) ? ; Ok ( ( ) ) }
Generates the typescript bindings for the main Move package based on the embedded
diem types and Move stdlib.
Generates the typescript bindings for the main Move package based on the embedded diem types and Move stdlib .
project_path
&Path