-
Notifications
You must be signed in to change notification settings - Fork 0
/
XCECollectionView.podspec
68 lines (39 loc) · 1.47 KB
/
XCECollectionView.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
projName = 'CollectionView'
projSummary = 'UICollectionView wrapped in a container with dedicated (customizable) views for "Empty" and "Failure" states.'
companyPrefix = 'XCE'
companyName = 'XCEssentials'
companyGitHubAccount = 'https://github.com/' + companyName
companyGitHubPage = 'https://' + companyName + '.github.io'
#===
Pod::Spec.new do |s|
s.name = companyPrefix + projName
s.summary = projSummary
s.version = '1.2.0'
s.homepage = companyGitHubPage + '/' + projName
s.source = { :git => companyGitHubAccount + '/' + projName + '.git', :tag => s.version }
s.requires_arc = true
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Maxim Khatskevich' => 'maxim@khatskevi.ch' }
s.default_subspec = 'Core'
# === Platforms - All
#
# === Platforms - iOS
s.ios.deployment_target = '9.0'
s.ios.framework = 'UIKit'
# === Subspecs - Core
s.subspec 'Core' do |sub|
# === All platforms
#
# === iOS
sub.ios.source_files = 'Sources/Core/**/*.swift'
end
# === Subspecs - WithData
s.subspec 'WithData' do |sub|
# === All platforms
#
# === iOS
sub.ios.source_files = 'Sources/WithData/**/*.swift'
sub.ios.dependency s.name + '/Core'
sub.ios.dependency 'XCECollectionData', '~> 1.1.0'
end
end