Fixed: XcodeCapp did not ignore folder when sourcing them

This commit is contained in:
Alexandre Wilhelm
2015-11-18 11:29:09 -08:00
parent 2b17e173f5
commit 6fee13b0a5
@@ -106,7 +106,9 @@ NSString * const XCCNeedSourceToProjectPathMappingNotification = @"XCCNeedSource
NSLog(@"%@: found directory. checking for source files: %@", self.cappuccinoProject.name, filename);
[sourcePaths addObjectsFromArray:[self _findSourceFilesAtProjectPath:projectRelativePath]];
if (![XCCCappuccinoProject pathMatchesIgnoredPaths:realPath cappuccinoProjectIgnoredPathPredicates:self.cappuccinoProject.ignoredPathPredicates])
[sourcePaths addObjectsFromArray:[self _findSourceFilesAtProjectPath:projectRelativePath]];
continue;
}
@@ -130,7 +132,7 @@ NSString * const XCCNeedSourceToProjectPathMappingNotification = @"XCCNeedSource
[sourcePaths addObject:projectSourcePath];
}
}
return sourcePaths;
}