square / spacecommander

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

Ignoring Directories #49

Closed addoshi closed 8 years ago

addoshi commented 8 years ago

Similar to this issue https://github.com/square/spacecommander/issues/5.

I have some directories in my project file that contain machine generated objective-c files and would want space commander to ignore those directories. Rather than listing all other directories in .formatting-directory, I'd like to be able to have an ignore list in say a .formatting-directory-ignore file.

I made a quick attempt at the script here: https://github.com/square/spacecommander/compare/master...addoshi:master

Let me know if this is something worth making a PR for. Thanks! :)

alanf commented 8 years ago

Thanks @addoshi ! I would be interested in this changeset. The only thing missing that I see is a description in the README.md Configuration section. Also, please have a look at https://github.com/square/spacecommander/blob/master/Contributing.md if you don't mind. Cheers!

addoshi commented 8 years ago

Thanks! Here's the PR: https://github.com/square/spacecommander/pull/51

(Also, I've signed the CLA.)