diff --git a/Down.podspec b/Down.podspec index 6b30685b..d13062bb 100644 --- a/Down.podspec +++ b/Down.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |spec| spec.license = { :type => "MIT", :file => "LICENSE" } spec.authors = { "Rob Phillips" => "rob@robphillips.me" } spec.source = { :git => "https://github.com/iwasrobbed/Down.git", :tag => "v" + spec.version.to_s } - spec.source_files = "Source/{cmark,Enums & Options,Extensions,Renderers}/**", "Source/*" + spec.source_files = "Source/{cmark,Enums & Options,Extensions,Renderers}/**/*.{h,c,swift}", "Source/*" spec.ios.source_files = "Source/Views/**" spec.osx.source_files = "Source/Views/**" spec.public_header_files = "Source/*.h" @@ -15,7 +15,7 @@ Pod::Spec.new do |spec| spec.osx.deployment_target = "10.11" spec.requires_arc = true spec.module_name = "Down" - spec.preserve_path = 'Source/cmark/module.modulemap' + spec.preserve_paths = "Source/cmark/module.modulemap", "Source/cmark/*.inc", "Source/cmark/COPYING" spec.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(SRCROOT)/Down/Source/cmark/**' } spec.ios.resource = 'Resources/DownView.bundle' spec.osx.resource = 'Resources/DownView.bundle'