From 25df0c03d6abd79fbc103f3be9df38d48bd4f938 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Tue, 20 Sep 2016 14:42:29 -0700 Subject: Store the formula used to build the keg in the keg Store the formula used to build the keg inside the keg in a file named NAME/VERSION/.brew/NAME.rb after removing the bottle do ... end block. See https://github.com/Homebrew/brew-evolution/pull/6. Closes https://github.com/Homebrew/brew/issues/931. --- Library/Homebrew/cmd/list.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 4fdd8a85e..d2eebb5f1 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -140,6 +140,8 @@ class PrettyListing # dylibs have multiple symlinks and we don't care about them (pnn.extname == ".dylib" || pnn.extname == ".pc") && !pnn.symlink? end + when ".brew" + # Ignore .brew else if pn.directory? if pn.symlink? -- cgit v1.2.3