mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-26 05:27:03 +00:00
FIXED: Give basedir option to capp_lint from XCC or it won't work once completely built
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user