Skip to content

Commit

Permalink
Document Podfile#inhibit_all_warnings!
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Aug 20, 2012
1 parent 3b900e6 commit 7134b61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,7 @@
- Don’t impose a certain structure of the user’s project by raising if no ‘Frameworks’ group exists. [#431](https://github.com/CocoaPods/CocoaPods/pull/431)
- Support for GitHub Gists in the linter.
- Allow to specify ARC settings in subspecs.
- Add Podfile#inhibit_all_warnings! which will inhibit all warnings from the Pods library. [#209](https://github.com/CocoaPods/CocoaPods/issues/209)


## 0.11.1
Expand Down
3 changes: 3 additions & 0 deletions lib/cocoapods/podfile.rb
Expand Up @@ -289,6 +289,9 @@ def link_with(targets)
@target_definition.link_with = targets
end

# Inhibits **all** warnings from the Pods library.
#
# When used, this is applied to all targets inheriting from the current one.
def inhibit_all_warnings!
@target_definition.inhibit_all_warnings = true
end
Expand Down

0 comments on commit 7134b61

Please sign in to comment.