-
Notifications
You must be signed in to change notification settings - Fork 351
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
[Specification] Allow specifying a custom module map file #218
Conversation
So this is a breaking change that would require a Specs repo update if someone pushes a pod from a beta/master to the repo, are there any other DSL attributes we should add if we're doing this? |
Didn't we already add the module_name attribute? -Samuel E. Giddins On Feb 14, 2015, at 9:42 AM, Orta [email protected] wrote: So this is a breaking change that would require a Specs repo update if someone pushes a pod from a beta/master to the repo, are there any other DSL attributes we should add if we're doing this? — |
I think this was one of the huge benefits of switching to JSON |
So with subspecs, I see the following two cases:
|
@mrackwitz sure. I think specifying your own module map is like 'hard mode' -- you're responsible for it doing the things it should. I don't think we'll recommend that anyone use it -- it'll just be an option for those who need it. As to dealing with subspecs -- sure, that'd be nice, but (a) that would all be inside CocoaPods/CocoaPods and (b) it's 1/2 unrelated to this -- it can be done separately. |
We could i.e. go a whole different approach and allow customizing the generated modulemap in the DSL, so that you could add modulemap-declarations also on the subspec level. |
00415bf
to
8467526
Compare
@@ -2,6 +2,12 @@ | |||
|
|||
## Master | |||
|
|||
##### Enhancements | |||
|
|||
* Allow specifying a custom module map file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two spaces
Other than the one CHANGELOG comment and the linting, this should be good to go once the work in CocoaPods is done and #233 has been finished. |
This'll need a rebase 👍 |
Instead of all
0c72722
to
e3cb379
Compare
@@ -210,10 +210,6 @@ def _validate_authors(a) | |||
'from default') | |||
end | |||
end | |||
|
|||
if a.empty? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
238a282: The author
attribute is specified in the DSL as :required => true
, so it's linted automatically and we can rely on that. :)
This should be then ready now. Anything else left? |
Nope, this is good! 👍 |
[Specification] Allow specifying a custom module map file
[Specification] Allow specifying a custom module map file
\c @kylef @mrackwitz
Lint to prevent module_map defined on a subspec.depends on [Specification::DSL] Fixes around Linter and Analyzer #233.