mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-27 17:20:06 +08:00
add verbose outputs
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -85,7 +85,7 @@ pub fn get_local_builder_home_sub(builder_name: BuilderName, local_builder_home_
|
||||
Some(p) => {
|
||||
return Some(BuilderDesc{name: builder_name, home: p, bin: None});
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_local_builder_home_sub_first_sub_dir(local_builder_home_dir: &str) -> Option<String> {
|
||||
|
||||
Reference in New Issue
Block a user