Skip to content
Browse files

Update ReactiveCocoa spec for 0.17

  • Loading branch information...
1 parent 864c661 commit 6aab266b6ab8e89b69426273bdd60d39debfd1bc @keith keith committed Mar 19, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −7 ReactiveCocoa/1.4.0/ReactiveCocoa.podspec
View
13 ReactiveCocoa/1.4.0/ReactiveCocoa.podspec
@@ -19,9 +19,9 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
s.subspec 'Core' do |sp|
- files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
- sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/, /NSText/, /NSControl/)
- sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /RACEventTrampoline/, /RACDelegateProxy/)
+ sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
+ sp.ios.exclude_files = "**/NSControl*.{h,m}", "**/NSObject+RACAppKitBindings.{h,m}", "**/NSText+RACSignalSupport.{h,m}"
+ sp.osx.exclude_files = "**/RACEventTrampoline.{h,m}", "**/RACDelegateProxy.{h,m}", "**/UIControl*.{h,m}", "**/UITextField+RACSignalSupport.{h,m}", "**/UITextView+RACSignalSupport.{h,m}"
sp.header_dir = 'ReactiveCocoa'
sp.dependency 'JRSwizzle', '~> 1.0'
@@ -31,9 +31,8 @@ Pod::Spec.new do |s|
end
s.subspec 'RACExtensions' do |sp|
- files = FileList['RACExtensions/*.{h,m}']
- sp.ios.source_files = files.dup.exclude(/NSTask/)
- sp.osx.source_files = files
+ sp.source_files = 'RACExtensions/*.{h,m}'
+ sp.ios.exclude_files = "RACExtensions/NSTask*.{h,m}"
sp.dependency 'ReactiveCocoa/Core'
end
@@ -45,4 +44,4 @@ Pod::Spec.new do |s|
end
}
end
-end
+end

0 comments on commit 6aab266

Please sign in to comment.
Something went wrong with that request. Please try again.