Skip to content

Commit

Permalink
doc/go1.13: mention '-o <directory>' support for 'go build'
Browse files Browse the repository at this point in the history
Fixes golang#33720
Updates golang#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>
  • Loading branch information
Bryan C. Mills authored and t4n6a1ka committed Sep 5, 2019
1 parent af4cee8 commit fb53c87
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/go1.13.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,13 @@ <h3 id="go-command">Go command</h3>
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
Expand Down

0 comments on commit fb53c87

Please sign in to comment.