chore: add log when build binary
This commit is contained in:
@@ -43,6 +43,7 @@ fn build_script_command(rust_script: PathBuf, script_file: &str, script_sha256:
|
||||
} else {
|
||||
let mut cmd = Command::new(rust_script);
|
||||
if !is_env_on("RUNRS_SILENT_BUILD") {
|
||||
information!("Cached binary not exists, RUNRS_SILENT_BUILD=1 turn off");
|
||||
cmd.arg("--cargo-output");
|
||||
}
|
||||
cmd.args(&["--bin-name", &script_sha256, script_file]);
|
||||
|
||||
Reference in New Issue
Block a user