bottle: new formula license may be a list, not just a string
This commit is contained in:
parent
2492216946
commit
f41dd1834f
@ -535,6 +535,7 @@ module Homebrew
|
||||
(\n^\ {3}[\S\ ]+$)* # options can be in multiple lines
|
||||
)?|
|
||||
(homepage|desc|sha256|version|mirror|license)\ ['"][\S\ ]+['"]| # specs with a string
|
||||
(license)\ [^\[]+?\[[^\]]+?\]| # license may contain a list
|
||||
(revision|version_scheme)\ \d+| # revision with a number
|
||||
(stable|livecheck)\ do(\n+^\ {4}[\S\ ]+$)*\n+^\ {2}end # components with blocks
|
||||
)\n+ # multiple empty lines
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user