fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.121.0.beta.20190416200048 vs fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.121.0.beta.20190417200018
- old
+ new
@@ -17,10 +17,18 @@
if params[:sources]
sources = params[:sources].join(",")
command << "--sources='#{sources}'"
end
+ if params[:include_podspecs]
+ command << "--include-podspecs='#{params[:include_podspecs]}'"
+ end
+
+ if params[:external_podspecs]
+ command << "--external-podspecs='#{params[:external_podspecs]}'"
+ end
+
if params[:swift_version]
swift_version = params[:swift_version]
command << "--swift-version=#{swift_version}"
end
@@ -74,9 +82,18 @@
is_string: false,
type: Array,
verify_block: proc do |value|
UI.user_error!("Sources must be an array.") unless value.kind_of?(Array)
end),
+ FastlaneCore::ConfigItem.new(key: :include_podspecs,
+ description: "A Glob of additional ancillary podspecs which are used for linting via :path (available since cocoapods >= 1.7)",
+ optional: true,
+ is_string: true),
+ FastlaneCore::ConfigItem.new(key: :external_podspecs,
+ description: "A Glob of additional ancillary podspecs which are used for linting via :podspec. If there"\
+ " are --include-podspecs, then these are removed from them (available since cocoapods >= 1.7)",
+ optional: true,
+ is_string: true),
FastlaneCore::ConfigItem.new(key: :swift_version,
description: "The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file",
optional: true,
is_string: true),
FastlaneCore::ConfigItem.new(key: :use_libraries,