lib/scan/options.rb in scan-0.2.1 vs lib/scan/options.rb in scan-0.3.0
- old
+ new
@@ -42,14 +42,26 @@
short_option: "-c",
env_name: "SCAN_CLEAN",
description: "Should the project be cleaned before building it?",
is_string: false,
default_value: false),
+ FastlaneCore::ConfigItem.new(key: :code_coverage,
+ description: "Should generate code coverage (Xcode 7 only)?",
+ is_string: false,
+ default_value: false),
FastlaneCore::ConfigItem.new(key: :output_directory,
short_option: "-o",
env_name: "SCAN_OUTPUT_DIRECTORY",
description: "The directory in which all reports will be stored",
default_value: "./test_output"),
+ FastlaneCore::ConfigItem.new(key: :output_style,
+ short_option: "-b",
+ env_name: "SCAN_OUTPUT_STYLE",
+ description: "Define how the output should look like (standard, basic or rspec)",
+ optional: true,
+ verify_block: proc do |value|
+ raise "Invalid output_style #{value}".red unless ['standard', 'basic', "rspec"].include?(value)
+ end),
FastlaneCore::ConfigItem.new(key: :output_types,
short_option: "-f",
env_name: "SCAN_OUTPUT_TYPES",
description: "Comma seperated list of the output types (e.g. html, junit)",
default_value: "html,junit"),