mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-27 17:20:06 +08:00
add NOBUILDIN
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user