[v2,4/4] .gitignore: ignore build directories

Message ID 20190311105732.24121-4-bruce.richardson@intel.com
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series
  • [v2,1/4] .gitignore: add section header comments
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch warning coding style issues

Commit Message

Bruce Richardson March 11, 2019, 10:57 a.m.
test-meson-build.sh generates multiple build directories for various targets.
As these follow a known pattern, and since they don't need to be tracked in
git, we can add them to the gitignore file, along with the default build
directory "build".

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rami Rosen March 11, 2019, 5:27 p.m. | #1
Acked-by: Rami Rosen <ramirose@gmail.com>


>

Patch

diff --git a/.gitignore b/.gitignore
index 79509c35d..73822ae5e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,7 @@  TAGS
 
 # ignore hidden files
 .*
+
+# ignore default build directory, and directories from test-meson-builds.sh
+build
+build-*