diff options
author | Chris Bieneman <beanz@apple.com> | 2017-02-24 23:09:30 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-02-24 23:09:30 +0000 |
commit | 03791bdecb7591ea3987c7ba94551704658705c8 (patch) | |
tree | 12e4455fde4fc3bc7205f6b256f7acf92f2d0fd0 /.gitignore | |
parent | d2a98e0ac070dec857e8030eb370ecbfe5e9298f (diff) |
[.gitignore] Update .gitignore to ignore a nested build directory
Summary:
A number of tools and common workflows include putting a build directory inside the source checkout under the folder "build". Adding this to .gitignore seems useful.
As an example, the CMake Tools plugin for VSCode does this.
Reviewers: chandlerc, echristo, zturner
Reviewed By: zturner
Subscribers: MatzeB, mehdi_amini, llvm-commits, jgosnell
Differential Revision: https://reviews.llvm.org/D30346
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 6a183cd6b240..8a8ae6f5c31c 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,9 @@ #OS X specific files. .DS_store +# Nested build directory +/build + #==============================================================================# # Explicit files to ignore (only matches one). #==============================================================================# |