mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Include fixtures/packages in resource paths when running specs
This commit is contained in:
@@ -59,6 +59,10 @@
|
||||
@"vendor/packages", @"vendor", @"static", @"themes",
|
||||
@"node_modules", nil];
|
||||
NSMutableArray *resourcePaths = [[NSMutableArray alloc] init];
|
||||
if (_runningSpecs) {
|
||||
NSString *fixturePackagesDirectory = [NSString stringWithFormat:@"%@/fixtures/packages", _resourcePath];
|
||||
[resourcePaths addObject:fixturePackagesDirectory];
|
||||
}
|
||||
NSString *userPackagesDirectory = [@"~/.atom/packages" stringByStandardizingPath];
|
||||
[resourcePaths addObject:userPackagesDirectory];
|
||||
for (int i = 0; i < paths.count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user