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.

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/3b652379-242a-4287-b4d1-934cfd374965n%40googlegroups.com.

Reply via email to