Skip to content

Commit

Permalink
[Fix] ReactiveCocoa.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Oct 5, 2012
1 parent e31f0e8 commit f4872cc
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions ReactiveCocoa/0.8.0/ReactiveCocoa.podspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,12 +11,24 @@ Pod::Spec.new do |s|
"2. An approach to minimizing state and mutability.\n" \ "2. An approach to minimizing state and mutability.\n" \
"3. A declarative way to define behaviors and the relationships between properties.\n" \ "3. A declarative way to define behaviors and the relationships between properties.\n" \
"4. A unified, high-level interface for asynchronous operations.\n" \ "4. A unified, high-level interface for asynchronous operations.\n" \
"5. A lovely API on top of KVO.\n" "5. A lovely API on top of KVO."


files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/,/NSTask/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.requires_arc = true s.requires_arc = true
s.dependency 'JRSwizzle', '~> 1.0'
s.dependency 'libextobjc/EXTConcreteProtocol', '~> 0.1.0' s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
sp.dependency 'libextobjc/EXTConcreteProtocol', '~> 0.1.0'
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.dependency 'ReactiveCocoa/Core'
end
end end

0 comments on commit f4872cc

Please sign in to comment.