FIXED: Give basedir option to capp_lint from XCC or it won't work once completely built

This commit is contained in:
Antoine Mercadal
2014-04-21 14:03:45 -07:00
parent d6961889fb
commit 0bd2a032bb
+2 -1
View File
@@ -1741,7 +1741,8 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
self.isProcessing = YES;
[[NSNotificationCenter defaultCenter] postNotificationName:XCCBatchDidStartNotification object:self];
NSArray *arguments = [NSArray arrayWithObject:aPath];
NSString *baseDirectory = [NSString stringWithFormat:@"--basedir='%@'", self.projectPath];
NSArray *arguments = [NSArray arrayWithObjects:baseDirectory, aPath, nil];
NSDictionary *taskResult = [self runTaskWithLaunchPath:self.executablePaths[@"capp_lint"]
arguments:arguments