Skip to content

Commit

Permalink
[Docs] Document the possbility to inhibit warnings per Pod
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Apr 8, 2013
1 parent e79d383 commit 20be465
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/cocoapods-core/podfile/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,11 @@ def link_with(targets)
#
# This attribute is inherited by child target definitions.
#
# If you would like to inhibit warnings per Pod the it is possible to do
# so with the following syntax:
#
# pod 'SSZipArchive', :inhibit_warnings => true
#
def inhibit_all_warnings!
current_target_definition.inhibit_all_warnings = true
end
Expand Down

6 comments on commit 20be465

@fabiopelosin
Copy link
Member Author

Choose a reason for hiding this comment

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

@mneorr Feel free to change/improve this one if you would like 🍻

@supermarin
Copy link

Choose a reason for hiding this comment

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

👍

@orta
Copy link
Member

@orta orta commented on 20be465 Apr 8, 2013

Choose a reason for hiding this comment

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

If you would like to inhibit warnings per Pod the you can use the following syntax: - flows better

@orta
Copy link
Member

@orta orta commented on 20be465 Apr 8, 2013

Choose a reason for hiding this comment

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

( I've made the change. )

@supermarin
Copy link

Choose a reason for hiding this comment

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

It's perfect now 8179af4

@fabiopelosin
Copy link
Member Author

Choose a reason for hiding this comment

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

👌

Please sign in to comment.