.gitignore: only ignore build directories
The "build*" pattern is ignoring any file that begins with
"build". Add a trailing "/" to limit the effect of the pattern
to directories.
This continues to ignore build directories, but allows adding files
whose names begin with build, which will be used later to create a
build.rst file for documenting west's build command.
Signed-off-by: Marti Bolivar <marti@foundries.io>
diff --git a/.gitignore b/.gitignore
index 1c6e79e..4e8485a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,7 +7,7 @@
*.swp
*.swo
*~
-build*
+build*/
cscope.*
.dir