-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathErrorHandler.podspec
33 lines (29 loc) · 1.23 KB
/
ErrorHandler.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
Pod::Spec.new do |s|
s.name = "ErrorHandler"
s.version = "0.8.4"
s.swift_versions = ['4.2', '5.0']
s.summary = "Elegant and flexible error handling for Swift"
s.description = <<-DESC
> Elegant and flexible error handling for Swift
ErrorHandler enables expressing complex error handling logic with a few lines of code using a memorable fluent API.
DESC
s.homepage = "https://github.com/Workable/swift-error-handler"
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "Kostas Kremizas" => "[email protected]",
"Eleni Papanikolopoulou" => "[email protected]" }
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'
s.source = { :git => "https://github.com/Workable/swift-error-handler.git", :tag => s.version.to_s }
s.default_subspec = "Core"
s.subspec "Core" do |ss|
ss.source_files = "ErrorHandler/Classes/Core/**/*"
ss.framework = "Foundation"
end
s.subspec "Alamofire" do |ss|
ss.source_files = "ErrorHandler/Classes/Alamofire/**/*"
ss.dependency "Alamofire", "~> 5"
ss.dependency "ErrorHandler/Core"
end
end