Fix displaying errors when rustbook tests fail.
This commit is contained in:
parent
361c4ea224
commit
5b9e9d018f
@ -3016,6 +3016,7 @@ name = "rustbook"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
|
"env_logger 0.7.1",
|
||||||
"mdbook",
|
"mdbook",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.25.0"
|
clap = "2.25.0"
|
||||||
|
env_logger = "0.7.1"
|
||||||
|
|
||||||
[dependencies.mdbook]
|
[dependencies.mdbook]
|
||||||
version = "0.4.3"
|
version = "0.4.3"
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
use mdbook::MDBook;
|
use mdbook::MDBook;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
|
||||||
let d_message = "-d, --dest-dir=[dest-dir]
|
let d_message = "-d, --dest-dir=[dest-dir]
|
||||||
'The output directory for your book{n}(Defaults to ./book when omitted)'";
|
'The output directory for your book{n}(Defaults to ./book when omitted)'";
|
||||||
let dir_message = "[dir]
|
let dir_message = "[dir]
|
||||||
|
Loading…
Reference in New Issue
Block a user