-
Notifications
You must be signed in to change notification settings - Fork 2
/
SwifterKnife.podspec
56 lines (44 loc) · 1.82 KB
/
SwifterKnife.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
#
# Be sure to run `pod lib lint SwifterKnife.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'SwifterKnife'
s.version = '0.3.0'
s.summary = 'A handy collection of Swift method and Tools to build project faster and more efficient.'
s.description = <<-DESC
SwifterKnife is a collection of Swift extension method and some tools that often use in develop project, with them you might build project faster and more efficient.
DESC
s.homepage = 'https://github.com/CoderLouie/SwifterKnife'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'liyang' => '[email protected]' }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '11.0'
s.swift_version = '5.3'
s.requires_arc = true
s.source = { :git => 'https://github.com/CoderLouie/SwifterKnife.git', :tag => s.version.to_s }
s.subspec 'Base' do |sp|
sp.source_files = 'SwifterKnife/Classes/Base/*.swift'
end
# Extension Extensions
s.subspec 'Extension' do |sp|
sp.dependency 'SwifterKnife/Base'
sp.source_files = 'SwifterKnife/Classes/Extension/**/*.swift'
end
# Utility Extensions
s.subspec 'Utility' do |sp|
sp.source_files = 'SwifterKnife/Classes/Utility/**/*'
end
# Views Extensions
s.subspec 'Views' do |sp|
sp.dependency 'SwifterKnife/Extension'
sp.dependency 'SwifterKnife/Utility'
sp.dependency 'SnapKit'
sp.source_files =
'SwifterKnife/Classes/Views/**/*.swift'
end
end