mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-29 18:30:05 +08:00
update misc.rs
This commit is contained in:
@@ -26,6 +26,6 @@ buildj - run build, run assigned v
|
|||||||
pub fn is_verbose() -> bool {
|
pub fn is_verbose() -> bool {
|
||||||
match env::var("BUILDJ_VERBOSE") {
|
match env::var("BUILDJ_VERBOSE") {
|
||||||
Err(_) => false,
|
Err(_) => false,
|
||||||
Ok(v) => (v == "TRUE" || v == "true" || v == "1"),
|
Ok(v) => (v == "TRUE" || v == "true" || v =="YES" || v == "yes" || v == "1"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user