Add deployment targets to iOS/macOS/watchos/tvos
This commit is contained in:
parent
45f7aaa961
commit
2d94feee86
|
@ -1,11 +1,15 @@
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'SwiftLint'
|
s.name = 'SwiftLint'
|
||||||
s.version = `make get_version`
|
s.version = `make get_version`
|
||||||
s.summary = 'A tool to enforce Swift style and conventions.'
|
s.summary = 'A tool to enforce Swift style and conventions.'
|
||||||
s.homepage = 'https://github.com/realm/SwiftLint'
|
s.homepage = 'https://github.com/realm/SwiftLint'
|
||||||
s.license = { type: 'MIT', file: 'LICENSE' }
|
s.license = { type: 'MIT', file: 'LICENSE' }
|
||||||
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
||||||
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/portable_swiftlint.zip" }
|
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/portable_swiftlint.zip" }
|
||||||
s.preserve_paths = '*'
|
s.preserve_paths = '*'
|
||||||
s.exclude_files = '**/file.zip'
|
s.exclude_files = '**/file.zip'
|
||||||
|
s.ios.deployment_target = '9.0'
|
||||||
|
s.macos.deployment_target = '10.10'
|
||||||
|
s.tvos.deployment_target = '9.0'
|
||||||
|
s.watchos.deployment_target = '2.0'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue