Add deployment targets to iOS/macOS/watchos/tvos

This commit is contained in:
JP Simard 2020-11-08 12:35:14 -05:00
parent 45f7aaa961
commit 2d94feee86
No known key found for this signature in database
GPG Key ID: 184C3F2916202C58
1 changed files with 13 additions and 9 deletions

View File

@ -1,11 +1,15 @@
Pod::Spec.new do |s|
s.name = 'SwiftLint'
s.version = `make get_version`
s.summary = 'A tool to enforce Swift style and conventions.'
s.homepage = 'https://github.com/realm/SwiftLint'
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { 'JP Simard' => 'jp@jpsim.com' }
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/portable_swiftlint.zip" }
s.preserve_paths = '*'
s.exclude_files = '**/file.zip'
s.name = 'SwiftLint'
s.version = `make get_version`
s.summary = 'A tool to enforce Swift style and conventions.'
s.homepage = 'https://github.com/realm/SwiftLint'
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { 'JP Simard' => 'jp@jpsim.com' }
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/portable_swiftlint.zip" }
s.preserve_paths = '*'
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