-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCocoaExtensions.podspec
More file actions
56 lines (45 loc) · 1.94 KB
/
Copy pathCocoaExtensions.podspec
File metadata and controls
56 lines (45 loc) · 1.94 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
#
# Be sure to run `pod lib lint HandyExtensionsPod.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 = 'CocoaExtensions'
s.version = '0.3'
s.summary = 'Some useful extensions which I use everyday.'
# 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
There are so many code I'm repeating everyday. So I decided to put some of this code to the repo so I can plug it in my projects. Maybe you'll find it helpful too.
DESC
s.homepage = 'https://github.com/Jauzee/CocoaExtensions'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Abdurahim Jauzee' => 'a.jauzee@gmail.com' }
s.source = { :git => 'https://github.com/Jauzee/CocoaExtensions.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/abdurahimjauzee'
s.swift_version = '5.0'
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '10.1'
s.osx.deployment_target = '10.10'
s.default_subspec = 'Core'
s.frameworks = 'Foundation'
s.subspec 'Core' do |core|
core.source_files = 'CocoaExtensions/Core/**/*'
end
s.subspec 'Rx' do |rx|
rx.dependency 'RxSwift', '~> 5.0'
rx.dependency 'RxCocoa', '~> 5.0'
rx.source_files = 'CocoaExtensions/Rx/**/*'
end
s.subspec 'UI' do |ui|
ui.source_files = 'CocoaExtensions/UI/**/*.swift'
end
s.subspec 'Foundation' do |fn|
fn.source_files = 'CocoaExtensions/Foundation/**/*.swift'
end
end