fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.115.0.beta.20190122200028 vs fastlane/lib/fastlane/actions/pod_lib_lint.rb in fastlane-2.115.0.beta.20190123200015
- old
+ new
@@ -10,10 +10,12 @@
if params[:verbose]
command << "--verbose"
end
+ command << params[:podspec] if params[:podspec]
+
if params[:sources]
sources = params[:sources].join(",")
command << "--sources='#{sources}'"
end
@@ -52,9 +54,13 @@
[
FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
description: "Use bundle exec when there is a Gemfile presented",
is_string: false,
default_value: true),
+ FastlaneCore::ConfigItem.new(key: :podspec,
+ description: "Path of spec to lint",
+ optional: true,
+ is_string: true),
FastlaneCore::ConfigItem.new(key: :verbose,
description: "Allow output detail in console",
optional: true,
is_string: false),
FastlaneCore::ConfigItem.new(key: :allow_warnings,