fastlane/swift/ScanfileProtocol.swift in fastlane_hotfix-2.165.1 vs fastlane/swift/ScanfileProtocol.swift in fastlane_hotfix-2.187.0
- old
+ new
@@ -1,7 +1,7 @@
// ScanfileProtocol.swift
-// Copyright (c) 2020 FastlaneTools
+// Copyright (c) 2021 FastlaneTools
public protocol ScanfileProtocol: class {
/// Path to the workspace file
var workspace: String? { get }
@@ -18,10 +18,13 @@
var devices: [String]? { get }
/// Should skip auto detecting of devices if none were specified
var skipDetectDevices: Bool { get }
+ /// Should fail if devices not found
+ var ensureDevicesFound: Bool { get }
+
/// Enabling this option will automatically killall Simulator processes before the run
var forceQuitSimulator: Bool { get }
/// Enabling this option will automatically erase the simulator before running the application
var resetSimulator: Bool { get }
@@ -108,10 +111,13 @@
var derivedDataPath: String? { get }
/// Should zip the derived data build products and place in output path?
var shouldZipBuildProducts: Bool { get }
+ /// Should provide additional copy of .xctestrun file (settings.xctestrun) and place in output path?
+ var outputXctestrun: Bool { get }
+
/// Should an Xcode result bundle be generated in the output directory
var resultBundle: Bool { get }
/// Generate the json compilation database with clang naming convention (compile_commands.json)
var useClangReportName: Bool { get }
@@ -174,22 +180,40 @@
var skipSlack: Bool { get }
/// Only post on Slack if the tests fail
var slackOnlyOnFailure: Bool { get }
+ /// Specifies default payloads to include in Slack messages. For more info visit https://docs.fastlane.tools/actions/slack
+ var slackDefaultPayloads: [String]? { get }
+
/// Use only if you're a pro, use the other options instead
var destination: String? { get }
+ /// Platform to build when using a Catalyst enabled app. Valid values are: ios, macos
+ var catalystPlatform: String? { get }
+
/// **DEPRECATED!** Use `--output_files` instead - Sets custom full report file name when generating a single report
var customReportFileName: String? { get }
/// Allows for override of the default `xcodebuild` command
var xcodebuildCommand: String { get }
/// Sets a custom path for Swift Package Manager dependencies
var clonedSourcePackagesPath: String? { get }
+ /// Skips resolution of Swift Package Manager dependencies
+ var skipPackageDependenciesResolution: Bool { get }
+
+ /// Prevents packages from automatically being resolved to versions other than those recorded in the `Package.resolved` file
+ var disablePackageAutomaticUpdates: Bool { get }
+
+ /// Lets xcodebuild use system's scm configuration
+ var useSystemScm: Bool { get }
+
+ /// The number of times a test can fail before scan should stop retrying
+ var numberOfRetries: Int { get }
+
/// Should this step stop the build if the tests fail? Set this to false if you're using trainer
var failBuild: Bool { get }
}
public extension ScanfileProtocol {
@@ -197,10 +221,11 @@
var project: String? { return nil }
var scheme: String? { return nil }
var device: String? { return nil }
var devices: [String]? { return nil }
var skipDetectDevices: Bool { return false }
+ var ensureDevicesFound: Bool { return false }
var forceQuitSimulator: Bool { return false }
var resetSimulator: Bool { return false }
var disableSlideToType: Bool { return true }
var prelaunchSimulator: Bool? { return nil }
var reinstallApp: Bool { return false }
@@ -227,10 +252,11 @@
var suppressXcodeOutput: Bool? { return nil }
var formatter: String? { return nil }
var xcprettyArgs: String? { return nil }
var derivedDataPath: String? { return nil }
var shouldZipBuildProducts: Bool { return false }
+ var outputXctestrun: Bool { return false }
var resultBundle: Bool { return false }
var useClangReportName: Bool { return false }
var concurrentWorkers: Int? { return nil }
var maxConcurrentSimulators: Int? { return nil }
var disableConcurrentTesting: Bool { return false }
@@ -249,15 +275,21 @@
var slackUseWebhookConfiguredUsernameAndIcon: Bool { return false }
var slackUsername: String { return "fastlane" }
var slackIconUrl: String { return "https://fastlane.tools/assets/img/fastlane_icon.png" }
var skipSlack: Bool { return false }
var slackOnlyOnFailure: Bool { return false }
+ var slackDefaultPayloads: [String]? { return nil }
var destination: String? { return nil }
+ var catalystPlatform: String? { return nil }
var customReportFileName: String? { return nil }
var xcodebuildCommand: String { return "env NSUnbufferedIO=YES xcodebuild" }
var clonedSourcePackagesPath: String? { return nil }
+ var skipPackageDependenciesResolution: Bool { return false }
+ var disablePackageAutomaticUpdates: Bool { return false }
+ var useSystemScm: Bool { return false }
+ var numberOfRetries: Int { return 0 }
var failBuild: Bool { return true }
}
// Please don't remove the lines below
// They are used to detect outdated files
-// FastlaneRunnerAPIVersion [0.9.56]
+// FastlaneRunnerAPIVersion [0.9.83]