fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.143.0 vs fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.144.0
- old
+ new
@@ -24,10 +24,11 @@
command << "--no-clean" if params[:no_clean]
command << "--no-subspecs" if params[:no_subspecs]
command << "--platforms=#{params[:platforms]}" if params[:platforms]
command << "--skip-import-validation" if params[:skip_import_validation]
command << "--skip-tests" if params[:skip_tests]
+ command << "--analyze" if params[:analyze]
result = Actions.sh(command.join(' '))
UI.success("Pod lib lint Successfully ⬆️ ")
return result
end
@@ -142,10 +143,15 @@
env_name: "FL_POD_LIB_LINT_SKIP_IMPORT_VALIDATION"),
FastlaneCore::ConfigItem.new(key: :skip_tests,
description: "Lint skips building and running tests during validation (available since cocoapods >= 1.3)",
type: Boolean,
default_value: false,
- env_name: "FL_POD_LIB_LINT_SKIP_TESTS")
+ env_name: "FL_POD_LIB_LINT_SKIP_TESTS"),
+ FastlaneCore::ConfigItem.new(key: :analyze,
+ description: "Validate with the Xcode Static Analysis tool (available since cocoapods >= 1.6.1)",
+ type: Boolean,
+ default_value: false,
+ env_name: "FL_POD_LIB_LINT_ANALYZE")
]
end
def self.output
end