aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-04-11 16:38:02 +0100
committerMike McQuaid2015-04-16 17:52:11 -0700
commitced7598d6735d3b4cbe34e263fd9cfd4c6f39b43 (patch)
treeb32528b9aae408a76c654cbd194fb77ae9e324da /Library
parent451a07cc4e655b34f07d50f1dd45552d6c6d14b5 (diff)
downloadbrew-ced7598d6735d3b4cbe34e263fd9cfd4c6f39b43.tar.bz2
test-bot: delete cache files older than 30 days.
Closes Homebrew/homebrew#38567. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index fa7737acf..c2fc174c0 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -558,7 +558,7 @@ module Homebrew
if ARGV.include? '--cleanup'
test "git", "reset", "--hard"
git "stash", "pop"
- test "brew", "cleanup"
+ test "brew", "cleanup", "--prune=30"
end
FileUtils.rm_rf @brewbot_root unless ARGV.include? "--keep-logs"