update brew audit params in docs
This commit is contained in:
parent
b72421e258
commit
1ee012fd78
@ -265,7 +265,7 @@ brew uninstall my-new-cask
|
|||||||
If everything looks good, you’ll also want to make sure your cask passes audit with:
|
If everything looks good, you’ll also want to make sure your cask passes audit with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew audit --new-cask my-new-cask
|
brew audit --new --cask my-new-cask
|
||||||
```
|
```
|
||||||
|
|
||||||
You should also check stylistic details with `brew style`:
|
You should also check stylistic details with `brew style`:
|
||||||
|
|||||||
@ -48,7 +48,7 @@ Before submitting a new formula make sure your package:
|
|||||||
* isn't already waiting to be merged (check the [issue tracker](https://github.com/Homebrew/homebrew-core/pulls))
|
* isn't already waiting to be merged (check the [issue tracker](https://github.com/Homebrew/homebrew-core/pulls))
|
||||||
* is still supported by upstream (i.e. doesn't require extensive patching)
|
* is still supported by upstream (i.e. doesn't require extensive patching)
|
||||||
* has a stable, tagged version (i.e. isn't just a GitHub repository with no versions)
|
* has a stable, tagged version (i.e. isn't just a GitHub repository with no versions)
|
||||||
* passes all `brew audit --new-formula <formula>` tests
|
* passes all `brew audit --new --formula <formula>` tests
|
||||||
|
|
||||||
Before submitting a new formula make sure you read over our [contribution guidelines](https://github.com/Homebrew/brew/blob/HEAD/CONTRIBUTING.md#contributing-to-homebrew).
|
Before submitting a new formula make sure you read over our [contribution guidelines](https://github.com/Homebrew/brew/blob/HEAD/CONTRIBUTING.md#contributing-to-homebrew).
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ Add aliases by creating symlinks in an `Aliases` directory in the tap root.
|
|||||||
|
|
||||||
You can run `brew audit --strict --online` to test formulae for adherence to Homebrew house style, which is loosely based on the [Ruby Style Guide](https://github.com/rubocop-hq/ruby-style-guide#the-ruby-style-guide). The `audit` command includes warnings for trailing whitespace, preferred URLs for certain source hosts, and many other style issues. Fixing these warnings before committing will make the process a lot quicker for everyone.
|
You can run `brew audit --strict --online` to test formulae for adherence to Homebrew house style, which is loosely based on the [Ruby Style Guide](https://github.com/rubocop-hq/ruby-style-guide#the-ruby-style-guide). The `audit` command includes warnings for trailing whitespace, preferred URLs for certain source hosts, and many other style issues. Fixing these warnings before committing will make the process a lot quicker for everyone.
|
||||||
|
|
||||||
New formulae being submitted to Homebrew should run `brew audit --new-formula foo`. This command is performed by Brew Test Bot on new submissions as part of the automated build and test process, and highlights more potential issues than the standard audit.
|
New formulae being submitted to Homebrew should run `brew audit --new --formula foo`. This command is performed by Brew Test Bot on new submissions as part of the automated build and test process, and highlights more potential issues than the standard audit.
|
||||||
|
|
||||||
Use `brew info` and check if the version guessed by Homebrew from the URL is correct. Add an explicit [`version`](https://rubydoc.brew.sh/Formula#version-class_method) if not.
|
Use `brew info` and check if the version guessed by Homebrew from the URL is correct. Add an explicit [`version`](https://rubydoc.brew.sh/Formula#version-class_method) if not.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user