aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorDominyk Tiller2016-01-28 13:37:45 +0000
committerDominyk Tiller2016-01-31 00:39:29 +0000
commit557f6e33a9496513006a3ec69f9d3f3d0450e9e5 (patch)
tree75fdf50029fc54339dc289877df94f0d65314776 /Library/Homebrew/cmd
parent86eb44c96c8accf7642a48a0456df7c23c4d43c8 (diff)
downloadbrew-557f6e33a9496513006a3ec69f9d3f3d0450e9e5.tar.bz2
audit: check resource placement
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index d07b6b865..cc007ba95 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -186,6 +186,7 @@ class FormulaAuditor
[/^ keg_only/, "keg_only"],
[/^ option/, "option"],
[/^ depends_on/, "depends_on"],
+ [/^ (go_)?resource/, "resource"],
[/^ def install/, "install method"],
[/^ def caveats/, "caveats method"],
[/^ test do/, "test block"],