-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStylingKitThemes.podspec
More file actions
75 lines (61 loc) · 2.46 KB
/
StylingKitThemes.podspec
File metadata and controls
75 lines (61 loc) · 2.46 KB
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
#
# Be sure to run `pod lib lint StylingKitThemes.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "StylingKitThemes"
s.version = "0.1.3"
s.summary = "Themes repository for StylingKit."
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
This pod is themes repository for StylingKit project.
For the list of available themse please refer to https://github.com/StylingKit/StylingKit
DESC
s.homepage = "https://github.com/StylingKit/StylingKitThemes"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.source = { :git => "https://github.com/StylingKit/StylingKitThemes.git", :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios, '8.1'
s.requires_arc = true
s.default_subspec = "Core/All"
s.subspec 'Core' do |ss|
ss.subspec 'All' do |sss|
sss.dependency 'StylingKitThemes/Core/Scripts'
sss.dependency 'StylingKitThemes/Core/Icons'
end
ss.subspec 'Icons' do |sss|
sss.source_files = 'Pod/Classes/**.{h,m}' # Needed to get framework created
sss.resource_bundles = {
'StylingKitThemes' => ['Pod/Assets/icons/*.svg']
}
end
ss.subspec 'Scripts' do |sss|
sss.preserve_paths = ['Pod/Assets/scripts']
end
end
s.subspec 'blue' do |ss|
ss.subspec 'css' do |sss|
sss.resource_bundles = {
'StylingKitThemes-blue' => ['Pod/Assets/blue/css/*.css']
}
sss.dependency 'StylingKitThemes/Core'
end
ss.subspec 'scss' do |sss|
sss.preserve_paths = ['Pod/Assets/blue/scss/*.scss', 'Pod/Assets/blue/scripts']
sss.dependency 'StylingKitThemes/Core'
end
end
# Disabled to not require clients to have sass presinstalled
# s.prepare_command = <<-CMD
# Pod/Assets/scripts/build_theme blue
# CMD
end