Merge pull request #4842 from MikeMcQuaid/gitignore-cleanup

gitignore: general cleanup
This commit is contained in:
Mike McQuaid 2018-09-06 12:32:37 +01:00 committed by GitHub
commit 6c3547e5aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

39
.gitignore vendored
View File

@ -7,29 +7,22 @@
# Unignore the contents of `Library` as that's where our code lives.
!/Library/
# Ignore generated files within `Library` (again).
/Library/Homebrew/**/.bundle
/Library/Homebrew/**/vendor/bundle
/Library/Homebrew/bin/
# Ignore files within `Library` (again).
/Library/Homebrew/.npmignore
/Library/Homebrew/bin
/Library/Homebrew/doc
/Library/Homebrew/cask/bin
/Library/Homebrew/cask/coverage
/Library/Homebrew/cask/tmp
/Library/Homebrew/test/bin
/Library/Homebrew/test/coverage
/Library/Homebrew/test/fs_leak_log
/Library/Homebrew/test/.gem
/Library/Homebrew/test/.subversion
/Library/Homebrew/tmp
/Library/Homebrew/.npmignore
/Library/LinkedKegs
/Library/Locks
/Library/PinnedKegs
/Library/PinnedTaps
/Library/Homebrew/test/coverage
/Library/Homebrew/test/fs_leak_log
/Library/Homebrew/vendor/portable-ruby
/Library/Taps
# Ignore vendored files within `Library`.
/Library/Homebrew/vendor/portable-ruby
# Ignore Bundler files
**/.bundle/bin
**/.bundle/cache
**/vendor/bundle
**/vendor/ruby
# Ignore `bin` contents (again).
/bin
@ -37,21 +30,17 @@
# Unignore our `brew` script.
!/bin/brew
# Unignore our documentation.
# Unignore our documentation/completions.
!/.github
!/completions
!/docs
!/manpages
# Ignore generated documentation site
/docs/_site
/docs/.bundle
/docs/bin
/docs/vendor
/docs/.jekyll-metadata
# Unignore our shell completion
!/completions
# Unignore our root-level metadata files.
!/.gitignore
!/.travis.yml
@ -64,4 +53,4 @@
!/README.md
# Unignore tests' bundle config
!/Library/Homebrew/test/.bundle
!/Library/Homebrew/test/.bundle/config