[4/4] .gitignore: ignore build directories from test-meson-build
Checks
Commit Message
test-meson-build.sh generates multiple build directories for various
targets. As these follow a few known patterns of reasonable lengths,
and since they don't need to be tracked in git, we can add them to
the gitignore file.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
.gitignore | 6 ++++++
1 file changed, 6 insertions(+)
Comments
06/03/2019 18:05, Bruce Richardson:
> test-meson-build.sh generates multiple build directories for various
> targets. As these follow a few known patterns of reasonable lengths,
> and since they don't need to be tracked in git, we can add them to
> the gitignore file.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> --- a/.gitignore
> +++ b/.gitignore
> +build-arm64-*
> +build-clang-*
> +build-gcc-*
> +build-x86-default
We could even ignore build-* ?
On Sat, 09 Mar 2019 01:47:32 +0100
Thomas Monjalon <thomas@monjalon.net> wrote:
> 06/03/2019 18:05, Bruce Richardson:
> > test-meson-build.sh generates multiple build directories for various
> > targets. As these follow a few known patterns of reasonable lengths,
> > and since they don't need to be tracked in git, we can add them to
> > the gitignore file.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > ---
> > --- a/.gitignore
> > +++ b/.gitignore
> > +build-arm64-*
> > +build-clang-*
> > +build-gcc-*
> > +build-x86-default
>
> We could even ignore build-* ?
>
>
Why not?
build*
Since the default build directory in build/
09/03/2019 04:03, Stephen Hemminger:
> On Sat, 09 Mar 2019 01:47:32 +0100
> Thomas Monjalon <thomas@monjalon.net> wrote:
>
> > 06/03/2019 18:05, Bruce Richardson:
> > > test-meson-build.sh generates multiple build directories for various
> > > targets. As these follow a few known patterns of reasonable lengths,
> > > and since they don't need to be tracked in git, we can add them to
> > > the gitignore file.
> > >
> > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > > ---
> > > --- a/.gitignore
> > > +++ b/.gitignore
> > > +build-arm64-*
> > > +build-clang-*
> > > +build-gcc-*
> > > +build-x86-default
> >
> > We could even ignore build-* ?
>
> Why not?
> build*
>
> Since the default build directory in build/
Yes, but "git ls build*" is not empty because of buildtools/
Could be "build" and "build-*".
> Thomas Monjalon <thomas@monjalon.net> wrote:
>Yes, but "git ls build*" is not empty because of buildtools/
>Could be "build" and "build-*".
+1
>
>
>
>
>
On Sat, Mar 09, 2019 at 03:32:57PM +0200, Rami Rosen wrote:
> > Thomas Monjalon <[1]thomas@monjalon.net> wrote:
> >Yes, but "git ls build*" is not empty because of buildtools/
> >Could be "build" and "build-*".
> +1
>
Ok. I didn't want to be too liberal in my wildcarding hence the set I
provided, but I'll do a V2 with this sorter version, since it makes sense
and is unlikely to cause us issues.
/Bruce
@@ -22,3 +22,9 @@ TAGS
# ignore hidden files
.*
+
+# ignore build directories from test-meson-builds
+build-arm64-*
+build-clang-*
+build-gcc-*
+build-x86-default