forked from MacPass/TransformerKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTransformerKit.podspec
52 lines (42 loc) · 1.52 KB
/
TransformerKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# frozen_string_literal: true
Pod::Spec.new do |s|
s.name = 'TransformerKit'
s.version = '1.1.1'
s.license = 'MIT'
s.summary = 'A block-based API for NSValueTransformer, with a growing collection of useful examples.'
s.homepage = 'https://github.com/mattt/TransformerKit'
s.authors = { 'Mattt' => '[email protected]' }
s.source = { git: 'https://github.com/mattt/TransformerKit.git', tag: s.version }
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.13'
s.requires_arc = true
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/NSValueTransformer+TransformerKit.{h,m}', 'Sources/NSValueTransformerName.h'
end
s.subspec 'Cryptography' do |ss|
ss.dependency 'TransformerKit/Core'
ss.osx.source_files = 'Sources/TTTCryptographyTransformers.{h,m}'
ss.osx.frameworks = 'Security'
end
s.subspec 'Data' do |ss|
ss.dependency 'TransformerKit/Core'
ss.osx.source_files = 'Sources/TTTDataTransformers.{h,m}'
ss.osx.frameworks = 'Security'
end
s.subspec 'Date' do |ss|
ss.dependency 'TransformerKit/Core'
ss.source_files = 'Sources/TTTDateTransformers.{h,m}'
end
s.subspec 'JSON' do |ss|
ss.dependency 'TransformerKit/Core'
ss.source_files = 'Sources/TTTJSONTransformer.{h,m}'
end
s.subspec 'Image' do |ss|
ss.dependency 'TransformerKit/Core'
ss.source_files = 'Sources/TTTImageTransformers.{h,m}'
end
s.subspec 'String' do |ss|
ss.dependency 'TransformerKit/Core'
ss.source_files = 'Sources/TTTStringTransformers.{h,m}'
end
end