aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-06-05 13:43:49 +0100
committerMax Howell2009-06-05 13:43:49 +0100
commit97eb5a8292270dac971dcae30037feed1e2fdcad (patch)
treeec0e407fe158b70b5a639791753efaa551137210 /bin
parentb1f652910f58e36b30bc931bbeca301098e72357 (diff)
downloadbrew-97eb5a8292270dac971dcae30037feed1e2fdcad.tar.bz2
Move caveat handling to brew tool
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 9acc034ee..36cc44353 100755
--- a/bin/brew
+++ b/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'