The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`, with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it. In addition, a `Library/Homebrew/vendor/portable-ruby-version` will track the latest version of vendor binaries. This gives us version control on vendor Ruby and enables us to bump vendor Ruby whenever needed such as security update.
58 lines
1.1 KiB
Plaintext
58 lines
1.1 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 vendored files within `Library`
|
|
/Library/Homebrew/vendor/portable-ruby/*
|
|
|
|
# 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
|