Commit f014c9d6 authored by Fabio Pelosin's avatar Fabio Pelosin

[Pod::Command::Spec] raise informative it doesn't validate

parent 647cebae
...@@ -67,7 +67,9 @@ module Pod ...@@ -67,7 +67,9 @@ module Pod
files = name ? [Pathname.new(name)] : Pathname.pwd.glob('*.podspec') files = name ? [Pathname.new(name)] : Pathname.pwd.glob('*.podspec')
end end
puts puts
lint_specs_files(files, is_repo) all_valid = lint_specs_files(files, is_repo)
raise Informative, "[!] Not all specs passed validation".red unless all_valid
end end
private private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment