formula: use pretty license output in JSON.
This will improve things for formulae.brew.sh.
This commit is contained in:
parent
16ee849c43
commit
5d82f67427
@ -1697,7 +1697,7 @@ class Formula
|
|||||||
"aliases" => aliases.sort,
|
"aliases" => aliases.sort,
|
||||||
"versioned_formulae" => versioned_formulae.map(&:name),
|
"versioned_formulae" => versioned_formulae.map(&:name),
|
||||||
"desc" => desc,
|
"desc" => desc,
|
||||||
"license" => license,
|
"license" => SPDX.license_expression_to_string(license),
|
||||||
"homepage" => homepage,
|
"homepage" => homepage,
|
||||||
"versions" => {
|
"versions" => {
|
||||||
"stable" => stable&.version&.to_s,
|
"stable" => stable&.version&.to_s,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user