Skip to content

Commit

Permalink
Fix subspecs and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
minuscorp committed Sep 23, 2019
1 parent 72e0e04 commit 5ea19c8
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions Mini-Swift.podspec
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |s|
s.name = 'Mini-Swift'
s.version = '1.1.1'
s.version = '1.1.2'
s.swift_version = '5.0'
s.summary = 'The minimal expression of a Flux architecture in Swift.'

Expand Down Expand Up @@ -36,36 +36,33 @@ Pod::Spec.new do |s|
s.module_name = 'Mini'

s.subspec('Core') do |ss|
ss.ios.source_files = 'Sources/**/*.swift'
ss.ios.exclude_files = ['Sources/TestMiddleware/*.swift', 'Sources/LoggingService/*.swift']
ss.ios.source_files = ['Sources/MiniSwift/*.swift', 'Sources/MiniSwift/Utils/**/*.swift']

ss.osx.source_files = 'Sources/**/*.swift'
ss.osx.exclude_files = ['Sources/TestMiddleware/*.swift', 'Sources/LoggingService/*.swift']
ss.osx.source_files = ['Sources/MiniSwift/*.swift', 'Sources/MiniSwift/Utils/**/*.swift']

ss.tvos.source_files = 'Sources/**/*.swift'
ss.tvos.exclude_files = ['Sources/TestMiddleware/*.swift', 'Sources/LoggingService/*.swift']
ss.tvos.source_files = ['Sources/MiniSwift/*.swift', 'Sources/MiniSwift/Utils/**/*.swift']
end

s.subspec('Log') do |ss|
ss.ios.source_files = 'Sources/**/*.swift'
ss.ios.exclude_files = ['Sources/TestMiddleware/*.swift']
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/MiniSwift/LoggingService/*.swift'

ss.osx.source_files = 'Sources/**/*.swift'
ss.osx.exclude_files = ['Sources/TestMiddleware/*.swift']
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/MiniSwift/LoggingService/*.swift'

ss.tvos.source_files = 'Sources/**/*.swift'
ss.tvos.exclude_files = ['Sources/TestMiddleware/*.swift']
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/MiniSwift/LoggingService/*.swift'
end

s.subspec('Test') do |ss|
ss.ios.source_files = 'Sources/**/*.swift'
ss.ios.exclude_files = ['Sources/LoggingService/*.swift']
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/MiniSwift/TestMiddleware/*.swift'

ss.osx.source_files = 'Sources/**/*.swift'
ss.osx.exclude_files = ['Sources/LoggingService/*.swift']
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/MiniSwift/TestMiddleware/*.swift'

ss.tvos.source_files = 'Sources/**/*.swift'
ss.tvos.exclude_files = ['Sources/LoggingService/*.swift']
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/MiniSwift/TestMiddleware/*.swift'
end

s.preserve_paths = ['Templates/*.stencil']
Expand Down

0 comments on commit 5ea19c8

Please sign in to comment.