1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 10:20:04 +08:00

add verbose outputs

This commit is contained in:
2019-08-10 10:30:22 +08:00
parent 141584063f
commit 6f06b9d109
2 changed files with 7 additions and 1 deletions

View File

@@ -152,7 +152,13 @@ fn main() {
do_with_buildin_args(&args);
return;
}
if *VERBOSE {
print_message(MessageType::DEBUG, &format!("Init home dir: {}", tool::LOCAL_BUILDER_HOME_BASE_DIR));
}
local_util::init_home_dir(tool::LOCAL_BUILDER_HOME_BASE_DIR);
if *VERBOSE {
print_message(MessageType::DEBUG, &format!("Init home dir: {}", jdk::LOCAL_JAVA_HOME_BASE_DIR));
}
local_util::init_home_dir(jdk::LOCAL_JAVA_HOME_BASE_DIR);
let build_json = match find_build_json() {