summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-02-24 23:09:30 +0000
committerChris Bieneman <beanz@apple.com>2017-02-24 23:09:30 +0000
commit03791bdecb7591ea3987c7ba94551704658705c8 (patch)
tree12e4455fde4fc3bc7205f6b256f7acf92f2d0fd0 /.gitignore
parentd2a98e0ac070dec857e8030eb370ecbfe5e9298f (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--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 6a183cd6b24..8a8ae6f5c31 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).
#==============================================================================#