brew/.gitignore
Xu Cheng 8d64b6a02d introduce global lock directory (#337)
Since #292, HOMEBREW_CACHE was moved to a per-user directory. This makes
it unsuitable to store global lock files on multiple users environment.

Therefore, introducing a global lock directory `/Library/Lock.d` to
store lock files from formula lockers as well as `brew update`.
2016-06-08 17:29:03 +08:00

55 lines
1.0 KiB
Plaintext

# 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/doc
/Library/Homebrew/test/.bundle
/Library/Homebrew/test/bin
/Library/Homebrew/test/vendor
/Library/Homebrew/test/coverage
/Library/Homebrew/test/fs_leak_log
/Library/LinkedKegs
/Library/Locks
/Library/PinnedKegs
/Library/PinnedTaps
/Library/Taps
# Ignore `bin` contents (again).
/bin
# Unignore our `brew` script.
!/bin/brew
# Ignore `share` contents (again).
/share
/share/doc
/share/zsh
/share/zsh/site-functions
# Unignore our documentation.
!/.github
!/share/doc/homebrew
!/share/man/man1/brew.1
# Ignore `etc` contents (again)
/etc
/etc/bash_completion.d
# Unignore our shell completion
!/etc/bash_completion.d/brew
!/share/zsh/site-functions/_brew
# Unignore our root-level metadata files.
!/.gitignore
!/.travis.yml
!/.yardopts
!/CODEOFCONDUCT.md
!/LICENSE.txt
!/README.md