Skip to content

Commit

Permalink
Updated podspec, created Core and FloatLabel subspecs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpoplauschi committed Mar 13, 2014
1 parent 00d45a7 commit 6eee6bd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions BPForms.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BPForms'
s.version = '1.0.1'
s.version = '1.1.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'Dynamic forms for iPhone/iPad - iOS 6, 7 and later.'
s.homepage = 'https://github.com/bpoplauschi/BPForms'
Expand All @@ -15,9 +15,19 @@ Pod::Spec.new do |s|

s.preserve_paths = 'README*'

s.public_header_files = 'BPForms/**/*.h'
s.source_files = 'BPForms/**/*.{h,m}'
s.default_subspec = 'FloatLabel'

s.dependency 'Masonry'
s.subspec 'Core' do |core|
core.source_files = 'BPForms/**/*.{h,m}'
core.public_header_files = 'BPForms/**/*.h'
core.dependency 'Masonry'
end

s.subspec 'FloatLabel' do |floatlabel|
floatlabel.source_files = 'BPFormsFloatLabel/*.{h,m}'
floatlabel.public_header_files = 'BPFormsFloatLabel/*.h'
floatlabel.dependency 'BPForms/Core'
floatlabel.dependency 'JVFloatLabeledTextField'
end

end

0 comments on commit 6eee6bd

Please sign in to comment.