[pacman-dev] [PATCH] Add `build/` to gitignore

Eli Schwartz eschwartz at archlinux.org
Fri Dec 11 01:42:28 UTC 2020


On 12/9/20 2:14 PM, Colin Woodbury wrote:
> Since it's a transient directory for build artifacts, nothing in there will ever
> been committed. Ignoring it also makes IDEs happier during file search.
> 
> Signed-off-by: Colin Woodbury <colin at fosskers.ca>
> ---
>   .gitignore | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 01975fd2..638dfe39 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,3 +1,4 @@
>   *~
>   *.o
>   pacman-*.tar.gz
> +build/*

I use builddir/ (and upstream usually recommends that these days since 
it's less likely to confuse "meson builddir" as a subcommand, compared 
to "meson build").

This is kind of the problem with trying to ignore a directory that isn't 
canonical.

Instead, I'd prefer to argue upstream in favor of 
https://github.com/mesonbuild/meson/issues/6509

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20201210/4b1c9e08/attachment.sig>


More information about the pacman-dev mailing list