Il giorno martedì 20 aprile 2021 alle 21:26:33 UTC+2 Manlio Perillo ha 
scritto:

> Il giorno martedì 20 aprile 2021 alle 09:08:02 UTC+2 Brian Candler ha 
> scritto:
>
>> I agree with the OP: it would be less surprising if "go build ./..." 
>> always did build and store the artefacts, and there were a separate flag to 
>> discard them.
>>
>> Currently, "go build ./..." discards the build artefacts under certain 
>> conditions, see this example 
>> <https://groups.google.com/g/golang-nuts/c/JvHa4EEVEQo/m/9W7OIrIiAgAJ>.
>>
>
> You can discard build artifacts with `go build -o /dev/null ./...`.  This 
> is not documented and works thanks to
> https://golang.org/cl/31657.
>
>
And I notice only now that you can do `go build -o "" ./...`.

Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f76ed6d6-8edd-4132-a382-ab693e0bb69en%40googlegroups.com.

Reply via email to