Move caveat handling to brew tool
This commit is contained in:
parent
b1f652910f
commit
97eb5a8292
@ -173,12 +173,6 @@ public
|
||||
Dir.chdir tmp do
|
||||
Dir.chdir uncompress(tgz) do
|
||||
yield self
|
||||
if caveats
|
||||
ohai "Caveats"
|
||||
puts caveats
|
||||
end
|
||||
#TODO copy changelog or CHANGES file to pkg root,
|
||||
#TODO maybe README, etc. to versioned root
|
||||
end
|
||||
end
|
||||
rescue Interrupt, RuntimeError
|
||||
|
||||
6
bin/brew
6
bin/brew
@ -226,8 +226,14 @@ begin
|
||||
o.prefix.mkpath
|
||||
o.brew { o.install }
|
||||
ohai 'Finishing up'
|
||||
#TODO copy changelog or CHANGES file to pkg root,
|
||||
#TODO maybe README, etc. to versioned root
|
||||
o.clean
|
||||
ln name
|
||||
if o.caveats
|
||||
ohai "Caveats"
|
||||
puts o.caveats
|
||||
end
|
||||
puts "#{o.prefix}: "+abv(name)+", built in #{Time.now - beginning} seconds"
|
||||
end
|
||||
when 'ln'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user