]> Cypherpunks repositories - gostls13.git/commit
cmd/go: allow -o to point to a folder that writes multiple execs
authorDaniel Theophanes <kardianos@gmail.com>
Fri, 15 Mar 2019 06:42:57 +0000 (23:42 -0700)
committerDaniel Theophanes <kardianos@gmail.com>
Mon, 18 Mar 2019 16:13:50 +0000 (16:13 +0000)
commitb48bda9c6f57ca9a940eac95700485b9640a62e9
tree070094b1386f2913b19588cff444987452e6d947
parent6ca51f78978de7e6206d38b99eef8172fc8540d0
cmd/go: allow -o to point to a folder that writes multiple execs

If -o points to a directory that exists then allow multiple
executables to be written to that directory.

Fixes #14295

Change-Id: Ic951e637c70a2ada5e7534bae9a43901a39fe2c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/167679
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go
src/cmd/go/testdata/script/build_multi_main.txt [new file with mode: 0644]