mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-04 15:53:21 +03:00
Merge pull request #351 from kinode-dao/hf/dont-kit-build-ds-store
dont `kit::build` `.DS_Store`
This commit is contained in:
commit
96f6277ba1
@ -119,13 +119,17 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
let results: Vec<anyhow::Result<(String, String, Vec<u8>)>> = entries
|
||||
.par_iter()
|
||||
.map(|entry_path| {
|
||||
.filter_map(|entry_path| {
|
||||
let parent_pkg_path = entry_path.join("pkg");
|
||||
build_and_zip_package(
|
||||
if parent_pkg_path.exists() {
|
||||
// don't run on, e.g., `.DS_Store`
|
||||
return None;
|
||||
}
|
||||
Some(build_and_zip_package(
|
||||
entry_path.clone(),
|
||||
parent_pkg_path.to_str().unwrap(),
|
||||
&features,
|
||||
)
|
||||
))
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user