trainer/lib/trainer/options.rb in fastlane-2.201.0 vs trainer/lib/trainer/options.rb in fastlane-2.201.1
- old
+ new
@@ -31,10 +31,16 @@
short_option: "-o",
env_name: "TRAINER_OUTPUT_DIRECTORY",
default_value: nil,
optional: true,
description: "Directoy in which the xml files should be written to. Same directory as source by default"),
+ FastlaneCore::ConfigItem.new(key: :output_filename,
+ short_option: "-f",
+ env_name: "TRAINER_OUTPUT_FILENAME",
+ default_value: nil,
+ optional: true,
+ description: "Filename the xml file should be written to. Defaults to name of input file. (Only works if one input file is used)"),
FastlaneCore::ConfigItem.new(key: :fail_build,
env_name: "TRAINER_FAIL_BUILD",
description: "Should this step stop the build if the tests fail? Set this to false if you're handling this with a test reporter",
is_string: false,
default_value: true),
@@ -45,9 +51,14 @@
is_string: false,
default_value: false),
FastlaneCore::ConfigItem.new(key: :silent,
env_name: "TRAINER_SILENT",
description: "Silences all output",
+ is_string: false,
+ default_value: false),
+ FastlaneCore::ConfigItem.new(key: :output_remove_retry_attempts,
+ env_name: "TRAINER_OUTPUT_REMOVE_RETRY_ATTEMPTS",
+ description: "Doesn't include retry attempts in the output",
is_string: false,
default_value: false)
]
end
end