-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStrutter.podspec
43 lines (33 loc) · 1.56 KB
/
Strutter.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
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# These will help people to find your library, and whilst it
# can feel like a chore to fill in it's definitely to your advantage. The
# summary should be tweet-length, and the description more in depth.
#
s.name = "Strutter"
s.version = "0.1.0"
s.summary = "A Swift µFramework for defining AutoLayout constraints"
s.description = <<-DESC
Strutter simplifies defining constraints using iOS 9's NSLayoutAnchor
It reduces boilerplate and increases readability when defining constraints programatically.
DESC
s.homepage = "https://github.com/Pretz/Strutter"
s.license = "MIT"
s.author = { "Alex Pretzlav" => "alex@pretzlav.com" }
s.social_media_url = "http://twitter.com/apretz"
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.11"
s.source = { :git => "https://github.com/Pretz/Strutter.git", :tag => s.version }
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = "Strutter/*.swift"
end
s.subspec 'OALayoutAnchor' do |compat|
compat.platform = :ios, '8.0'
compat.ios.deployment_target = '8.0'
compat.dependency "OALayoutAnchor"
compat.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-D OALayout" }
compat.source_files = "Strutter/*.swift"
end
end