Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linter] The public_header_files attribute should allow only headers #89

Closed
fabiopelosin opened this issue Apr 3, 2014 · 2 comments
Closed

Comments

@fabiopelosin
Copy link
Member

Originally reported in #44 (comment)

@fabiopelosin
Copy link
Member Author

The list of the header extensions can be copied from here and the logic should be added in a new method stored here: https://github.com/CocoaPods/Core/blob/master/lib/cocoapods-core/specification/linter/analyzer.rb#L17.

This validation should be performed in the consumer.header_files and the public_header_files checking that the extension is included at the end of each pattern.

@fabiopelosin
Copy link
Member Author

This should be moved to CocoaPods as the files need to be fetched to perform robust valuation as patterns like the following could be hard to handle:

classes/**/*.{h,hpp}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant