aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-12-18 09:10:59 -0800
committerAdam Vandenberg2011-12-18 16:24:56 -0800
commit236ce9ea414ecde3560a9658c93294b9254801b0 (patch)
treeb373520083accd13b3cbc28d613c9f5725f9e6bc /Library
parentaa78a7f4341e737b985eadc89f7765918aa292f0 (diff)
downloadhomebrew-236ce9ea414ecde3560a9658c93294b9254801b0.tar.bz2
Audit: warn about head-only formulae
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index f78694614..3202bd068 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -294,6 +294,11 @@ module Homebrew extend self
ff.each do |f|
problems = []
+
+ if f.unstable and f.stable.nil?
+ problems += [' * head-only formula']
+ end
+
problems += audit_formula_instance f
problems += audit_formula_urls f