Skip to content

Conversation

designatednerd
Copy link

No description provided.

@designatednerd
Copy link
Author

@vokal/ios-developers Big ups to @vokal-isaac for his help - who wants to take a look at some delicious, delicious bash?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do absolute paths work or do paths have to be relative to SRCROOT?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They don't have to be - the actual .xcodecoverageignore file has to be relative to SRCROOT, but you can put whatever you damn well please in the file itself.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also be able to use the * for file pattern matching, yes?
e.g. put _*.m to exclude mogenerator files

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should definitely be doable, but I haven't tested it.

@vokal-isaac
Copy link

LGTM, but someone else should look at it, too.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any interest in allowing for comments (lines starting with #?) in the ignore file?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but for right now it just does nada if it can't find the given file, so #comments are effectively ignored.

Might be nice to add that in the future though.

@chillpop
Copy link

👍

@brockboland
Copy link

I haven't touched a bash script in ages, but it looks good to me

@designatednerd
Copy link
Author

Seems like we've got consensus on our end, I'll merge, open a PR back to the main fork, and let Jon Reid tell me what I'm doing wrong. 😄

designatednerd added a commit that referenced this pull request Aug 13, 2015
Add ability to ignore everything listed in a specified file.
@designatednerd designatednerd merged commit 0d2afd7 into vokal:master Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants