brew readall --syntax: skip vendor files
This commit is contained in:
parent
ea5840ed61
commit
1af6ffa950
@ -12,6 +12,7 @@ module Homebrew
|
|||||||
if ARGV.delete("--syntax")
|
if ARGV.delete("--syntax")
|
||||||
ruby_files = Queue.new
|
ruby_files = Queue.new
|
||||||
Dir.glob("#{HOMEBREW_LIBRARY}/Homebrew/**/*.rb").each do |rb|
|
Dir.glob("#{HOMEBREW_LIBRARY}/Homebrew/**/*.rb").each do |rb|
|
||||||
|
next if rb.include?("/vendor/")
|
||||||
ruby_files << rb
|
ruby_files << rb
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user