aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-04 12:00:06 -0600
committerJack Nagel2013-11-04 12:00:06 -0600
commitd7f5d6cdc13bb6fff8e42b9c13512f683be22d0c (patch)
tree645080a206090bbd47bb0a3a1704d69a078feee0 /Library
parent7c6561aee545d29dfcdeda13ae7c333e36ad73a2 (diff)
downloadhomebrew-d7f5d6cdc13bb6fff8e42b9c13512f683be22d0c.tar.bz2
Add explicit "run" dependency tag
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependable.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/dependable.rb b/Library/Homebrew/dependable.rb
index 50ff5c90f..d500cd033 100644
--- a/Library/Homebrew/dependable.rb
+++ b/Library/Homebrew/dependable.rb
@@ -1,7 +1,7 @@
require 'options'
module Dependable
- RESERVED_TAGS = [:build, :optional, :recommended]
+ RESERVED_TAGS = [:build, :optional, :recommended, :run]
def build?
tags.include? :build
@@ -15,6 +15,10 @@ module Dependable
tags.include? :recommended
end
+ def run?
+ tags.include? :run
+ end
+
def required?
!build? && !optional? && !recommended?
end