update adding_a_cask.md: add requested prechecks

This commit is contained in:
Michael 2019-08-16 01:19:45 +02:00 committed by Markus Reiter
parent b045fff0f9
commit 2a41a0c0eb
1 changed files with 14 additions and 1 deletions

View File

@ -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, youll also want to make sure your Cask passes audit with:
```bash