-
Notifications
You must be signed in to change notification settings - Fork 463
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
Added DNS_BLOCK_ASSERTIONS=1 to default Xcode release flags #53
Conversation
Can you add a simple test for it? This way we ensure that in the future we don’t accidentally remove it (during a refactor etc). |
I have some problems with implementing testing. As I understood this is not a pure RSpec… How should I test here thing like build_settings['OTHER_CFLAGS'].should include('-DNS_BLOCK_ASSERTIONS=1') ? |
Indeed. With Bacon the matcher methods are on the ‘should’ object. So in this case: build_settings['OTHER_CFLAGS'].should.include('-DNS_BLOCK_ASSERTIONS=1') |
And to check that an object is not included: build_settings['OTHER_CFLAGS'].should.not.include('-DNS_BLOCK_ASSERTIONS=1') |
oh, but how do I run the tests properly? |
ok, got it So I pushed tests.. |
Awesome, thanks! I will merge this later today (I have to check if we should run this test for |
@irrationalfab Are the other commits you’ve added since 0.4.3 ready for release? |
I’ll release a new gem tomorrow. |
Released. |
@xslim When a .Podspec (like 'zipzap') defines value for OTHER_CPLUSPLUSFLAGS it will be ignored. |
interesting idea - needs checking... |
As will occur when Cocoapods installs, due to CocoaPods/Xcodeproj#53.
No description provided.