From 4b72e444613509b3102a94de1d1029a9318fcbad Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 9 Sep 2012 13:19:53 -0700 Subject: Use a class for FORMULA_META_FILES * lets more text types get picked up * better filter for `brew list` --- Library/Homebrew/global.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/global.rb') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index d7071eafb..0d5a5c6a7 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -83,7 +83,8 @@ module Homebrew extend self alias_method :failed?, :failed end -FORMULA_META_FILES = %w[README README.md ChangeLog CHANGES COPYING LICENSE LICENCE COPYRIGHT AUTHORS] +require 'metafiles' +FORMULA_META_FILES = Metafiles.new ISSUES_URL = "https://github.com/mxcl/homebrew/wiki/troubleshooting" unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] -- cgit v1.2.3