square / spacecommander

Commit fully-formatted Objective-C as a team without even trying.
Other
1.13k stars 177 forks source link

Use xargs to run format-objc-file.sh in parallel #29

Closed ksuther closed 8 years ago

ksuther commented 8 years ago

This uses xargs to call format-objc-file.sh in parallel. This sped up the initial formatting of one project from around 1m40s to 30s.

alanf commented 8 years ago

I like it! It seems good to me but I'll ask @justinseanmartin to lend a second set of eyes. I'm also interested in if there's a difference in speed for formatting a set of files on the order of tens of files.