fastlane/lib/fastlane/actions/slather.rb in fastlane-2.150.1 vs fastlane/lib/fastlane/actions/slather.rb in fastlane-2.150.2
- old
+ new
@@ -14,10 +14,11 @@
simple_output: '--simple-output',
gutter_json: '--gutter-json',
cobertura_xml: '--cobertura-xml',
sonarqube_xml: '--sonarqube-xml',
llvm_cov: '--llvm-cov',
+ json: '--json',
html: '--html',
show: '--show',
build_directory: '--build-directory',
source_directory: '--source-directory',
@@ -222,9 +223,15 @@
optional: true),
FastlaneCore::ConfigItem.new(key: :llvm_cov,
env_name: "FL_SLATHER_LLVM_COV_ENABLED",
description: "Tell slather that it should output results as llvm-cov show format",
is_string: false,
+ optional: true),
+ FastlaneCore::ConfigItem.new(key: :json,
+ env_name: "FL_SLATHER_JSON_ENABLED",
+ description: "Tell slather that it should output results as static JSON report",
+ is_string: false,
+ type: Boolean,
optional: true),
FastlaneCore::ConfigItem.new(key: :html,
env_name: "FL_SLATHER_HTML_ENABLED",
description: "Tell slather that it should output results as static HTML pages",
is_string: false,