[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] .gitignore: include common build sub-directories
From: |
Richard Henderson |
Subject: |
Re: [PATCH] .gitignore: include common build sub-directories |
Date: |
Tue, 14 Apr 2020 09:39:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 4/14/20 9:31 AM, Alex Bennée wrote:
> Richard Henderson <address@hidden> writes:
>> My build directories are always siblings of the source directory in the
>> parent
>> directory.
>
>
> It's not exactly an un-common pattern - especially if you have a lot of
> build variants. Keeping them under builds makes it easier to blow the
> whole lot away rather than having a messy parent directory which you
> have to clean manually.
"Manual" is a bit of an overstatement. In the end there's no difference at
all: it's rm -rf build* no matter the $PWD where you perform it.
As for "messy", you're the one that put stuff that doesn't belong into the
source directory. Mine is nice and clean. ;-)
> Personally it also works better with my tooling which can slurp up all
> the build directories and present me with a menu of make commands to
> build from. That's not a good argument for accepting the patch though.
Hah.
r~
- [PATCH] .gitignore: include common build sub-directories, Alex Bennée, 2020/04/13
- Re: [PATCH] .gitignore: include common build sub-directories, Eric Blake, 2020/04/13
- Re: [PATCH] .gitignore: include common build sub-directories, Alex Bennée, 2020/04/13
- Re: [PATCH] .gitignore: include common build sub-directories, Eric Blake, 2020/04/13
- Re: [PATCH] .gitignore: include common build sub-directories, Philippe Mathieu-Daudé, 2020/04/13
- Re: [PATCH] .gitignore: include common build sub-directories, Markus Armbruster, 2020/04/14
- Re: [PATCH] .gitignore: include common build sub-directories, Alex Bennée, 2020/04/14
- Re: [PATCH] .gitignore: include common build sub-directories, Philippe Mathieu-Daudé, 2020/04/14
Re: [PATCH] .gitignore: include common build sub-directories, Richard Henderson, 2020/04/14