aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-08-03 21:14:20 +0800
committerXu Cheng2015-08-03 21:27:40 +0800
commit1af6ffa950a6b512fa3ac3cdcfb3fc1d81d5b6e4 (patch)
treeda673b2c941a80403e5a4f83283d86334875a46b
parentea5840ed6192a2c2602223faf53dfcd5f32a26d7 (diff)
downloadbrew-1af6ffa950a6b512fa3ac3cdcfb3fc1d81d5b6e4.tar.bz2
brew readall --syntax: skip vendor files
-rw-r--r--Library/Homebrew/cmd/readall.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb
index a89b700f9..175d7787c 100644
--- a/Library/Homebrew/cmd/readall.rb
+++ b/Library/Homebrew/cmd/readall.rb
@@ -12,6 +12,7 @@ module Homebrew
if ARGV.delete("--syntax")
ruby_files = Queue.new
Dir.glob("#{HOMEBREW_LIBRARY}/Homebrew/**/*.rb").each do |rb|
+ next if rb.include?("/vendor/")
ruby_files << rb
end