Permalink
59 lines (48 sloc) 1.1 KB
# First, ignore everything.
/*
# Explicitly ignore OS X Finder thumbnail files.
.DS_Store
# 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/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/tmp
/Library/LinkedKegs
/Library/Locks
/Library/PinnedKegs
/Library/PinnedTaps
/Library/Taps
# Ignore vendored files within `Library`.
/Library/Homebrew/vendor/portable-ruby
# Ignore `bin` contents (again).
/bin
# Unignore our `brew` script.
!/bin/brew
# Unignore our documentation.
!/.github
!/docs
!/manpages
# Ignore generated documentation site
/docs/_site
/docs/.bundle
/docs/bin
/docs/vendor
/docs/Gemfile.lock
# Unignore our shell completion
!/completions
# Unignore our root-level metadata files.
!/.gitignore
!/.travis.yml
!/.yardopts
!/CODEOFCONDUCT.md
!/CONTRIBUTING.md
!/LICENSE.txt
!/README.md