mirror of
https://github.com/zhigang1992/Kingfisher.git
synced 2026-04-30 04:55:45 +08:00
Remove swiftlint in CI too
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
disabled_rules:
|
||||
- trailing_whitespace
|
||||
- line_length
|
||||
- variable_name
|
||||
- file_length
|
||||
- function_body_length
|
||||
- opening_brace
|
||||
- type_body_length
|
||||
- valid_docs
|
||||
- function_parameter_count
|
||||
@@ -15,13 +15,6 @@ platform :ios do
|
||||
scan(scheme: "Kingfisher-tvOS", clean: true)
|
||||
end
|
||||
|
||||
desc "Swift Lint"
|
||||
lane :upgrade_swift_lint do
|
||||
Actions.sh("brew update")
|
||||
Actions.sh("brew remove swiftlint")
|
||||
Actions.sh("brew install swiftlint")
|
||||
end
|
||||
|
||||
desc "Build for Carthage"
|
||||
lane :carthage_lint do
|
||||
Actions.sh("cd .. && carthage build --no-skip-current && cd fastlane")
|
||||
@@ -43,8 +36,6 @@ platform :ios do
|
||||
target_version = options[:version]
|
||||
raise "The version is missed. Use `fastlane release version:{version_number}`.`" if target_version.nil?
|
||||
|
||||
upgrade_swift_lint
|
||||
|
||||
ensure_git_branch
|
||||
ensure_git_status_clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user