update adding_a_cask.md: add requested prechecks
This commit is contained in:
parent
b045fff0f9
commit
2a41a0c0eb
|
@ -1,4 +1,11 @@
|
|||
**Note**: Before taking the time to craft a new cask, make sure it can be accepted by checking the [Rejected Casks FAQ document](https://github.com/Homebrew/homebrew-cask/blob/master/doc/faq/rejected_casks.md).
|
||||
**Note**: Before taking the time to craft a new cask, make sure:
|
||||
- it can be accepted by checking the [Rejected Casks FAQ document](https://github.com/Homebrew/homebrew-cask/blob/master/doc/faq/rejected_casks.md).
|
||||
- check if there are no [open pull requests] for the same cask.
|
||||
- check if the cask was not [already refused].
|
||||
|
||||
[open pull requests]: https://github.com/Homebrew/homebrew-cask/pulls
|
||||
[already refused]: https://github.com/Homebrew/homebrew-cask/search?q=is%3Aclosed&type=Issues
|
||||
|
||||
|
||||
## Adding a Cask
|
||||
|
||||
|
@ -158,6 +165,12 @@ brew cask install my-new-cask
|
|||
|
||||
Did it install? If something went wrong, `brew cask uninstall my-new-cask` and edit your Cask with `brew cask edit my-new-cask` to fix it.
|
||||
|
||||
Test also if the uninstall works successfully:
|
||||
|
||||
```bash
|
||||
brew cask uninstall my-new-cask
|
||||
```
|
||||
|
||||
If everything looks good, you’ll also want to make sure your Cask passes audit with:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue