From cd267e0bce9ca9cc1af37deab96c47e1cfb7645c Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Wed, 18 Nov 2015 08:07:49 +0100 Subject: audit: check position of 'revision' and 'keg_only' Closes Homebrew/homebrew#46178. Signed-off-by: Dominyk Tiller --- Library/Homebrew/cmd/audit.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index dc80f6d45..4c416312c 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -175,12 +175,14 @@ class FormulaAuditor [/^ mirror ["'][\S\ ]+["']/, "mirror"], [/^ version ["'][\S\ ]+["']/, "version"], [/^ (sha1|sha256) ["'][\S\ ]+["']/, "checksum"], + [/^ revision/, "revision"], [/^ head ["'][\S\ ]+["']/, "head"], [/^ stable do/, "stable block"], [/^ bottle do/, "bottle block"], [/^ devel do/, "devel block"], [/^ head do/, "head block"], [/^ bottle (:unneeded|:disable)/, "bottle modifier"], + [/^ keg_only/, "keg_only"], [/^ option/, "option"], [/^ depends_on/, "depends_on"], [/^ def install/, "install method"], -- cgit v1.2.3