aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.rb
diff options
context:
space:
mode:
authorDan Martinez2015-05-05 15:29:01 -0700
committerMike McQuaid2015-09-08 15:23:37 +0100
commit837437416840d4c4f132b7e4ba2ea0fa2f861668 (patch)
treea05615c66686eb93cf7cea2b5d8eed66e82be4f2 /Library/Homebrew/cmd/update.rb
parentc4ceaabfc19bedc70be53f2df2be7546bb9286e8 (diff)
downloadbrew-837437416840d4c4f132b7e4ba2ea0fa2f861668.tar.bz2
Improve description searching and add a cache.
Closes Homebrew/homebrew#42281. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index 1d4eb5928..4be763b6a 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -2,6 +2,7 @@ require "cmd/tap"
require "formula_versions"
require "migrator"
require "formulary"
+require "descriptions"
module Homebrew
def update
@@ -100,6 +101,7 @@ module Homebrew
puts "Updated Homebrew from #{master_updater.initial_revision[0, 8]} to #{master_updater.current_revision[0, 8]}."
report.dump
end
+ Descriptions.update_cache(report)
end
private