-
Notifications
You must be signed in to change notification settings - Fork 5
/
VOKUtilities.podspec
executable file
·104 lines (84 loc) · 3.19 KB
/
VOKUtilities.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Pod::Spec.new do |s|
s.name = "VOKUtilities"
s.version = "0.16.0"
s.summary = "Assorted category and utility classes for iDevelopment"
s.homepage = "https://github.com/vokal/VOKUtilities"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Vokal" => "ios@vokal.io" }
s.source = { :git => "https://github.com/vokal/VOKUtilities.git", :tag => s.version.to_s }
ios_deployment_target = "11.0"
tvos_deployment_target = "9.0"
osx_deployment_target = "10.9"
watchos_deployment_target = "3.0"
s.ios.deployment_target = ios_deployment_target
s.tvos.deployment_target = tvos_deployment_target
s.osx.deployment_target = osx_deployment_target
s.watchos.deployment_target = watchos_deployment_target
s.swift_version = "5.0"
#cross platform specs:
s.subspec 'VOKKeyPathHelper' do |ss|
ss.source_files = 'Pod/VOKKeyPathHelper/*.{h,m}'
end
s.subspec 'NSCalendar+VOKAL' do |ss|
ss.source_files = 'Pod/NSCalendar+VOKAL/*.{h,m}'
end
s.subspec 'NSString+VOKValidation' do |ss|
ss.source_files = 'Pod/NSString+VOKValidation/*.{h,m}'
end
s.subspec 'NSPredicate+VOKAL' do |ss|
ss.source_files = 'Pod/NSPredicate+VOKAL/*.{h,m}'
end
s.subspec 'NSNumberFormatter+VOKAL' do |ss|
ss.source_files = 'Pod/NSNumberFormatter+VOKAL/*.{h,m}'
end
#UIKit specs:
s.subspec 'UIColor+VOKAL' do |ss|
ss.ios.deployment_target = ios_deployment_target
ss.tvos.deployment_target = tvos_deployment_target
# most of the rest of UIKit isn't available on the watch, but UIColor is.
ss.watchos.deployment_target = watchos_deployment_target
ss.source_files = 'Pod/UIColor+VOKAL/*.{h,m}'
end
s.subspec 'VOKIBHelpers' do |ss|
ss.ios.deployment_target = ios_deployment_target
ss.tvos.deployment_target = tvos_deployment_target
ss.source_files = 'Pod/VOKIBHelpers/*.{h,m}'
end
s.subspec 'UIView+VOKDebug' do |ss|
ss.ios.deployment_target = ios_deployment_target
ss.tvos.deployment_target = tvos_deployment_target
ss.source_files = 'Pod/UIView+VOKDebug/*.{h,m}'
end
s.subspec 'UIView+VOKCircle' do |ss|
ss.ios.deployment_target = ios_deployment_target
ss.tvos.deployment_target = tvos_deployment_target
ss.source_files = 'Pod/UIView+VOKCircle/*.{h,m}'
end
#iOS specific specs:
s.subspec 'UIViewController+VOKKeyboard' do |ss|
ss.platform = :ios
ss.source_files = 'Pod/UIViewController+VOKKeyboard/*.{h,m}'
end
s.subspec 'VOKEmailHelper' do |ss|
ss.platform = :ios
ss.source_files = 'Pod/VOKEmailHelper/*.{h,m}'
end
s.subspec 'VOKAlertHelper' do |ss|
ss.platform = :ios
ss.source_files = 'Pod/VOKAlertHelper/*.{h,m}'
end
s.subspec 'VOKNavigationHelper' do |ss|
ss.platform = :ios
ss.source_files = 'Pod/VOKNavigationHelper/*.{h,m}'
end
s.subspec 'VOKSwiftHelpers' do |ss|
ss.platform = :ios
ss.ios.deployment_target = ios_deployment_target
ss.source_files = 'Pod/VOKSwiftHelpers/*.swift'
end
s.subspec 'VOKSwiftTestingHelpers' do |ss|
ss.platform = :ios
ss.ios.deployment_target = ios_deployment_target
ss.source_files = 'Pod/VOKSwiftTestingHelpers/*.swift'
end
end