mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
fe5baca7cd
New APIs were introduced in SourceKitten to allow for a more typesafe distinction between integers meaning NSString-based distances and byte-based distances. * https://github.com/jpsim/SourceKitten/pull/639 * https://github.com/jpsim/SourceKitten/pull/642 This PR migrates SwiftLint's use of those APIs.
16 lines
769 B
Ruby
16 lines
769 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'SwiftLintFramework'
|
|
s.version = `make get_version`
|
|
s.summary = 'A tool to enforce Swift style and conventions.'
|
|
s.homepage = 'https://github.com/realm/SwiftLint'
|
|
s.source = { git: s.homepage + '.git', tag: s.version }
|
|
s.license = { type: 'MIT', file: 'LICENSE' }
|
|
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
|
s.platform = :osx, '10.10'
|
|
s.source_files = 'Source/SwiftLintFramework/**/*.swift'
|
|
s.swift_versions = ['5.0', '5.1']
|
|
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
|
|
s.dependency 'SourceKittenFramework', '~> 0.29.0'
|
|
s.dependency 'Yams', '~> 2.0'
|
|
end
|