[PATCH] D30346: [.gitignore] Update .gitignore to ignore a nested build directory

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 10:57:30 PST 2017


beanz created this revision.
Herald added subscribers: jgosnell, mehdi_amini.

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.


https://reviews.llvm.org/D30346

Files:
  .gitignore


Index: .gitignore
===================================================================
--- .gitignore
+++ .gitignore
@@ -21,6 +21,9 @@
 #OS X specific files.
 .DS_store
 
+# Nested build directory
+/build
+
 #==============================================================================#
 # Explicit files to ignore (only matches one).
 #==============================================================================#


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30346.89696.patch
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170224/5d0f5008/attachment.bin>


More information about the llvm-commits mailing list