mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +03:00
add newlines
This commit is contained in:
parent
4c0e99a73d
commit
0137f4caa7
@ -27,7 +27,6 @@ use leo_span::symbol::with_session_globals;
|
|||||||
use aleo::commands::Build as AleoBuild;
|
use aleo::commands::Build as AleoBuild;
|
||||||
|
|
||||||
use clap::StructOpt;
|
use clap::StructOpt;
|
||||||
use colored::Colorize;
|
|
||||||
use indexmap::IndexMap;
|
use indexmap::IndexMap;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
@ -183,6 +182,7 @@ impl Command for Build {
|
|||||||
if self.compiler_options.offline {
|
if self.compiler_options.offline {
|
||||||
args.push("--offline");
|
args.push("--offline");
|
||||||
}
|
}
|
||||||
|
println!();
|
||||||
let command = AleoBuild::try_parse_from(&args).map_err(CliError::failed_to_execute_aleo_build)?;
|
let command = AleoBuild::try_parse_from(&args).map_err(CliError::failed_to_execute_aleo_build)?;
|
||||||
let result = command.parse().map_err(CliError::failed_to_execute_aleo_build)?;
|
let result = command.parse().map_err(CliError::failed_to_execute_aleo_build)?;
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ fn compile_leo_file(
|
|||||||
.map_err(CliError::failed_to_load_instructions)?;
|
.map_err(CliError::failed_to_load_instructions)?;
|
||||||
|
|
||||||
// Prepare the path string.
|
// Prepare the path string.
|
||||||
let path_string = format!("(in \"{}\")", aleo_file_path.display());
|
let _path_string = format!("(in \"{}\")", aleo_file_path.display());
|
||||||
|
|
||||||
// Log the build as successful.
|
// Log the build as successful.
|
||||||
tracing::info!("Compiled '{}' into Aleo instructions", file_name,);
|
tracing::info!("Compiled '{}' into Aleo instructions", file_name,);
|
||||||
|
@ -50,6 +50,7 @@ impl Command for Deploy {
|
|||||||
.map_err(|err| PackageError::failed_to_set_cwd(build_directory.display(), err))?;
|
.map_err(|err| PackageError::failed_to_set_cwd(build_directory.display(), err))?;
|
||||||
|
|
||||||
// Call the `aleo node` command from the Aleo SDK.
|
// Call the `aleo node` command from the Aleo SDK.
|
||||||
|
println!();
|
||||||
let command = AleoDeploy::try_parse_from([ALEO_CLI_COMMAND]).map_err(CliError::failed_to_parse_aleo_node)?;
|
let command = AleoDeploy::try_parse_from([ALEO_CLI_COMMAND]).map_err(CliError::failed_to_parse_aleo_node)?;
|
||||||
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;
|
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;
|
||||||
|
|
||||||
|
@ -71,6 +71,7 @@ impl Command for Node {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Call the `aleo node` command from the Aleo SDK.
|
// Call the `aleo node` command from the Aleo SDK.
|
||||||
|
println!();
|
||||||
let command = AleoNode::try_parse_from(&arguments).map_err(CliError::failed_to_parse_aleo_node)?;
|
let command = AleoNode::try_parse_from(&arguments).map_err(CliError::failed_to_parse_aleo_node)?;
|
||||||
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;
|
let res = command.parse().map_err(CliError::failed_to_execute_aleo_node)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user