diff options
| author | Martin Afanasjew | 2015-11-18 08:07:49 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2015-11-23 04:56:27 +0000 |
| commit | cd267e0bce9ca9cc1af37deab96c47e1cfb7645c (patch) | |
| tree | 714af9afa245af21f2e91e6cecf0c8e8fd40afad | |
| parent | 59d2d7b0b0f8c7b13856ad014f6a2f111ac21871 (diff) | |
| download | brew-cd267e0bce9ca9cc1af37deab96c47e1cfb7645c.tar.bz2 | |
audit: check position of 'revision' and 'keg_only'
Closes Homebrew/homebrew#46178.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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"], |
