[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Clean all .go in clean-go
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Clean all .go in clean-go |
Date: |
Fri, 02 Sep 2016 14:42:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Bavier <address@hidden> skribis:
> On Thu, 01 Sep 2016 14:37:58 +0200
> address@hidden (Ludovic Courtès) wrote:
[...]
>> > In regards of the .go files remaining in the build directory, I agree
>> > that this is not good, however I don't think it is worth trying to fix
>> > this issue which equally applies to every file generated by Make. Using
>> > wildcards can be tempting in such cases but it can lead to accidental
>> > file deletions which is worse IMO. As a consequence I would prefer
>> > keeping the current 'clean-go' rule.
>>
>> I sympathize with that.
>
> How about simply printing a warning if there are any .go files laying
> around after a `make clean` or `make clean-go`?
Sure, why not.
Ludo’.