mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 12:39:48 -05:00
1 parent
f5af7aeef6
commit
b2c8fe7e76
1 file changed
+11
@@ -36,6 +36,17 @@ class Formula
|
||||
return versions
|
||||
end
|
||||
|
||||
def bottle_filenames branch='HEAD'
|
||||
filenames = []
|
||||
rev_list(branch).each do |sha|
|
||||
filename = formula_for_sha(sha) {|f| bottle_filename f }
|
||||
unless filenames.include? filename or filename.nil?
|
||||
filenames << filename
|
||||
end
|
||||
end
|
||||
return filenames
|
||||
end
|
||||
|
||||
def pretty_relative_path
|
||||
if Pathname.pwd == repository
|
||||
entry_name
|
||||
|
||||
Reference in new issue
Block a user