OSDN Git Service

[.gitignore] Update .gitignore to ignore a nested build directory
authorChris Bieneman <beanz@apple.com>
Fri, 24 Feb 2017 23:09:30 +0000 (23:09 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 24 Feb 2017 23:09:30 +0000 (23:09 +0000)
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

.gitignore

index 6a183cd..8a8ae6f 100644 (file)
@@ -21,6 +21,9 @@
 #OS X specific files.
 .DS_store
 
+# Nested build directory
+/build
+
 #==============================================================================#
 # Explicit files to ignore (only matches one).
 #==============================================================================#