1
0
mirror of https://github.com/jht5945/buildj.git synced 2026-05-22 13:34:34 +08:00

add NOBUILDIN

This commit is contained in:
2019-08-25 12:48:13 +08:00
parent 1aaf9129d1
commit e21990ddbb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ fn main() {
let args = local_util::get_args_as_vec();
print_message(MessageType::INFO, &format!("Arguments: {:?}", args));
if local_util::is_buildin_args(&args) {
if (! *NOBUILDIN) && local_util::is_buildin_args(&args) {
do_with_buildin_args(&args);
return;
}
+1
View File
@@ -4,6 +4,7 @@ use rust_util::util_env::*;
lazy_static! {
pub static ref VERBOSE: bool = is_env_on("BUILDJ_VERBOSE");
pub static ref NOAUTH: bool = is_env_on("BUILDJ_NOAUTH");
pub static ref NOBUILDIN: bool = is_env_on("BUILDJ_NOBUILDIN");
}
pub fn print_usage() {