|
@@ -15,13 +15,6 @@ platform :ios do
|
|
|
scan(scheme: "Kingfisher-tvOS", clean: true)
|
|
scan(scheme: "Kingfisher-tvOS", clean: true)
|
|
|
end
|
|
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"
|
|
desc "Build for Carthage"
|
|
|
lane :carthage_lint do
|
|
lane :carthage_lint do
|
|
|
Actions.sh("cd .. && carthage build --no-skip-current && cd fastlane")
|
|
Actions.sh("cd .. && carthage build --no-skip-current && cd fastlane")
|
|
@@ -43,8 +36,6 @@ platform :ios do
|
|
|
target_version = options[:version]
|
|
target_version = options[:version]
|
|
|
raise "The version is missed. Use `fastlane release version:{version_number}`.`" if target_version.nil?
|
|
raise "The version is missed. Use `fastlane release version:{version_number}`.`" if target_version.nil?
|
|
|
|
|
|
|
|
- upgrade_swift_lint
|
|
|
|
|
-
|
|
|
|
|
ensure_git_branch
|
|
ensure_git_branch
|
|
|
ensure_git_status_clean
|
|
ensure_git_status_clean
|
|
|
|
|
|