feat: add indicatif crate
This commit is contained in:
1 parent
0a2bac8715
commit
eb0145173d
2 files changed
+1
-5
No files matched your search
@@ -75,8 +75,6 @@ pub fn build(config: &CrateConfig, quiet: bool) -> Result<()> {
|
||||
ExecutableType::Example(name) => cmd.arg("--example").arg(name),
|
||||
};
|
||||
|
||||
let loading = loading::Loading::default();
|
||||
loading.text("Building");
|
||||
let mut child = cmd.spawn()?;
|
||||
let out = child.stdout.take().unwrap();
|
||||
let mut out = std::io::BufReader::new(out);
|
||||
@@ -96,8 +94,6 @@ pub fn build(config: &CrateConfig, quiet: bool) -> Result<()> {
|
||||
}
|
||||
}
|
||||
}
|
||||
loading.success("OK");
|
||||
loading.end();
|
||||
|
||||
// if !output.status.success() {
|
||||
// log::error!("Build failed!");
|
||||
|
||||
Reference in new issue
Block a user