feat: with ignore sub source as well
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
0ad738700a
commit
90692d026d
@ -1,6 +1,4 @@
|
|||||||
use std::{
|
use std::path::{Path, PathBuf};
|
||||||
path::{Path, PathBuf},
|
|
||||||
};
|
|
||||||
|
|
||||||
use eyre::Context;
|
use eyre::Context;
|
||||||
|
|
||||||
@ -118,7 +116,10 @@ impl RustSource {
|
|||||||
.map(|c| format!("**/*{}*", c.replace('-', "_")))
|
.map(|c| format!("**/*{}*", c.replace('-', "_")))
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
let exclude = exclude.iter().map(|c| c.as_str()).collect();
|
let original_crates = crates.clone();
|
||||||
|
original_crates.extend(exclude);
|
||||||
|
|
||||||
|
let exclude = original_crates.iter().map(|c| c.as_str()).collect();
|
||||||
|
|
||||||
let incremental_dir = self.client.directory().with_directory_opts(
|
let incremental_dir = self.client.directory().with_directory_opts(
|
||||||
".",
|
".",
|
||||||
|
Loading…
Reference in New Issue
Block a user