diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-08-20 16:02:24 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-08-20 21:00:50 +0000 |
commit | 723852388eed2b023c7a47219ebebf722b3a7ced (patch) | |
tree | d3e05f220a3c54e6085e6443b5cdeb3af373dd52 | |
parent | 53c088fbf05f42b24e1f7aa40889ca51055f9f29 (diff) | |
download | go-723852388eed2b023c7a47219ebebf722b3a7ced.tar.gz go-723852388eed2b023c7a47219ebebf722b3a7ced.zip |
doc/go1.13: mention '-o <directory>' support for 'go build'
Fixes #33720
Updates #14295
Change-Id: I9cb6e02bcaccd7971057315163d8810157d465bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/190907
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
-rw-r--r-- | doc/go1.13.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/go1.13.html b/doc/go1.13.html index 71d56612a5..30ea1a5c30 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -389,6 +389,13 @@ go env -w GOSUMDB=off from the compiled executable, to improve build reproducibility. </p> +<p id="o-dir"><!-- CL 167679 --> + If the <code>-o</code> flag passed to <code>go</code> <code>build</code> + refers to an existing directory, <code>go</code> <code>build</code> will now + write executable files within that directory for <code>main</code> packages + matching its package arguments. +</p> + <p id="comma-separated-tags"><!-- CL 173438 --> The <code>go</code> <code>build</code> flag <code>-tags</code> now takes a comma-separated list of build tags, to allow for multiple tags in |