Skip to content

Commit

Permalink
Merge pull request escoz#611 from bofrese/podspecs
Browse files Browse the repository at this point in the history
Not including extras by default. Also added subspecs to selectively include extra components
  • Loading branch information
escoz committed Nov 17, 2013
2 parents d4f3298 + 0e0f264 commit 2ac596f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion QuickDialog.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,33 @@ Pod::Spec.new do |s|
'and efficient, you can create forms with multiple text fields, or with ' \
'thousands of items with no sweat!'

s.source_files = 'quickdialog', '*.{h,m}'
s.requires_arc = true
s.default_subspec = "Core"

s.subspec "Core" do |sp|
sp.source_files = 'quickdialog', '*.{h,m}'
end

s.subspec "Extras" do |sp|
sp.source_files = 'extras', '*.{h,m}'
end

s.subspec "QPicker" do |sp|
sp.source_files = 'extras/QPicker*.{h,m}'
end
s.subspec "QMail" do |sp|
sp.source_files = 'extras/QMail*.{h,m}'
end
s.subspec "QMap" do |sp|
sp.source_files = 'extras/QMap*.{h,m}'
end
s.subspec "QWeb" do |sp|
sp.source_files = 'extras/QWeb*.{h,m}'
end
s.subspec "QColor" do |sp|
sp.source_files = 'extras/QColor*.{h,m}', 'extras/UIColor*.{h,m}'
end

s.prefix_header_contents = <<-EOS
#ifdef __OBJC__
#import "QuickDialog.h"
Expand Down

0 comments on commit 2ac596f

Please sign in to comment.