docs: use '<cask>' placeholder in Cask-Cookbook
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
parent
0e9ab28600
commit
5ce84970b8
@ -303,7 +303,7 @@ The [`find-appcast`](https://github.com/Homebrew/homebrew-cask/blob/HEAD/develop
|
|||||||
|
|
||||||
| key | value |
|
| key | value |
|
||||||
| --------------- | ----------- |
|
| --------------- | ----------- |
|
||||||
| `must_contain:` | a custom string for `brew audit --appcast <cask_file>` to check against. |
|
| `must_contain:` | a custom string for `brew audit --appcast <cask>` to check against. |
|
||||||
|
|
||||||
Sometimes a `version` doesn’t match a string on the webpage, in which case we tweak what to search for. Example: if `version` is `6.26.1440` and the appcast’s contents only show `6.24`, the check for “is `version` in the appcast feed” will fail. With `must_contain`, the check is told to “look for this string instead of `version`”. In the example, `must_contain: version.major_minor` is saying “look for `6.24`”, making the check succeed.
|
Sometimes a `version` doesn’t match a string on the webpage, in which case we tweak what to search for. Example: if `version` is `6.26.1440` and the appcast’s contents only show `6.24`, the check for “is `version` in the appcast feed” will fail. With `must_contain`, the check is told to “look for this string instead of `version`”. In the example, `must_contain: version.major_minor` is saying “look for `6.24`”, making the check succeed.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user