chore: add log when build binary

This commit is contained in:
2022-08-07 20:56:37 +08:00
parent f0463e4eda
commit b9a12883c1

View File

@@ -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]);