diff options
| author | Xu Cheng | 2015-08-03 21:14:20 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-08-03 21:27:40 +0800 |
| commit | 1af6ffa950a6b512fa3ac3cdcfb3fc1d81d5b6e4 (patch) | |
| tree | da673b2c941a80403e5a4f83283d86334875a46b | |
| parent | ea5840ed6192a2c2602223faf53dfcd5f32a26d7 (diff) | |
| download | brew-1af6ffa950a6b512fa3ac3cdcfb3fc1d81d5b6e4.tar.bz2 | |
brew readall --syntax: skip vendor files
| -rw-r--r-- | Library/Homebrew/cmd/readall.rb | 1 |
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 |
