Require Swift 5.2 or higher to build (#3413)
Swift 5.2 has been officially released for over 7 months now, there's no reason to keep supporting earlier versions when _building_ SwiftLint. However, SwiftLint still supports _linting_ back up to Swift 3.0.
This commit is contained in:
parent
2950826bb1
commit
b2b95cf403
|
@ -1 +0,0 @@
|
||||||
5.1
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
#### Breaking
|
#### Breaking
|
||||||
|
|
||||||
* None.
|
* SwiftLint now requires Swift 5.2 or higher to build.
|
||||||
|
[JP Simard](https://github.com/jpsim)
|
||||||
|
|
||||||
#### Experimental
|
#### Experimental
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Pod::Spec.new do |s|
|
||||||
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
||||||
s.platform = :osx, '10.10'
|
s.platform = :osx, '10.10'
|
||||||
s.source_files = 'Source/SwiftLintFramework/**/*.swift'
|
s.source_files = 'Source/SwiftLintFramework/**/*.swift'
|
||||||
s.swift_versions = ['5.1', '5.2']
|
s.swift_versions = ['5.2', '5.3']
|
||||||
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
|
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
|
||||||
s.dependency 'SourceKittenFramework', '~> 0.30.1'
|
s.dependency 'SourceKittenFramework', '~> 0.30.1'
|
||||||
s.dependency 'Yams', '~> 4.0'
|
s.dependency 'Yams', '~> 4.0'
|
||||||
|
|
|
@ -8,8 +8,6 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
maxParallel: 10
|
maxParallel: 10
|
||||||
matrix:
|
matrix:
|
||||||
swift51:
|
|
||||||
containerImage: swift:5.1
|
|
||||||
swift52:
|
swift52:
|
||||||
containerImage: swift:5.2
|
containerImage: swift:5.2
|
||||||
swift53:
|
swift53:
|
||||||
|
@ -25,14 +23,6 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
maxParallel: 10
|
maxParallel: 10
|
||||||
matrix:
|
matrix:
|
||||||
xcode110:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.app
|
|
||||||
xcode111:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.1.app
|
|
||||||
xcode112:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.2.1.app
|
|
||||||
xcode113:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app
|
|
||||||
xcode114:
|
xcode114:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
||||||
xcode115:
|
xcode115:
|
||||||
|
@ -67,14 +57,6 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
maxParallel: 10
|
maxParallel: 10
|
||||||
matrix:
|
matrix:
|
||||||
xcode110:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.app
|
|
||||||
xcode111:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.1.app
|
|
||||||
xcode112:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.2.1.app
|
|
||||||
xcode113:
|
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app
|
|
||||||
xcode114:
|
xcode114:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
||||||
xcode115:
|
xcode115:
|
||||||
|
|
Loading…
Reference in New Issue