Skip to content

Commit

Permalink
Merge pull request #5 from JeanLebrument/master
Browse files Browse the repository at this point in the history
Add swift support
  • Loading branch information
stefanceriu committed Oct 29, 2015
2 parents 9b97ade + 961ff59 commit f3fefd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCStringsUtility/SCStringsController.m
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ -(void)executeGenStringsAtPath:(NSString*)path withRoutine:(NSString*)routine po

NSString *tempFilePath = NSTemporaryDirectory();

NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0| xargs -0 genstrings -o %@", tempFilePath];
NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0 -o -name *.swift -print0 | xargs -0 genstrings -o %@", tempFilePath];
if([routine length]) argument = [argument stringByAppendingString:[NSString stringWithFormat:@" -s %@", routine]];
if(!positionalParameters) argument = [argument stringByAppendingString:@" -noPositionalParameters"];

Expand Down

0 comments on commit f3fefd7

Please sign in to comment.