Skip to content

Commit

Permalink
Remove unnecessary podspec source_files (#320)
Browse files Browse the repository at this point in the history
There are 2 changes here:

1. Remove the per platform source_files and public_header_files globs
from the Tasks subspec because they are the same for all platforms
2. Remove the empty source_files definitions from the AppLinks subspec.
This subspec only supports iOS so these are unnecessary
  • Loading branch information
keith authored and nlutsenko committed Jul 19, 2018
1 parent 68a906e commit 93d8107
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Bolts.podspec
Expand Up @@ -20,17 +20,8 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '9.0'

s.subspec 'Tasks' do |ss|
ss.ios.source_files = 'Bolts/Common/*.[hm]'
ss.ios.public_header_files = 'Bolts/Common/*.h'

ss.osx.source_files = 'Bolts/Common/*.[hm]'
ss.osx.public_header_files = 'Bolts/Common/*.h'

ss.watchos.source_files = 'Bolts/Common/*.[hm]'
ss.watchos.public_header_files = 'Bolts/Common/*.h'

ss.tvos.source_files = 'Bolts/Common/*.[hm]'
ss.tvos.public_header_files = 'Bolts/Common/*.h'
ss.source_files = 'Bolts/Common/*.[hm]'
ss.public_header_files = 'Bolts/Common/*.h'
end

s.subspec 'AppLinks' do |ss|
Expand All @@ -39,8 +30,5 @@ Pod::Spec.new do |s|

ss.ios.source_files = 'Bolts/iOS/**/*.[hm]'
ss.ios.public_header_files = 'Bolts/iOS/*.h'
ss.osx.source_files = ''
ss.watchos.source_files = ''
ss.tvos.source_files = ''
end
end

0 comments on commit 93d8107

Please sign in to comment.