aboutsummaryrefslogtreecommitdiff
path: root/_content/doc/tutorial
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2024-06-03 13:31:56 -0400
committerGopher Robot <gobot@golang.org>2024-06-03 18:50:37 +0000
commitbc501ffff774407d086ca672d2b03a44ca3f310c (patch)
tree151892d0b70daecfe938f721d67ff8d33a4d38da /_content/doc/tutorial
parentabb9f5be80baa843731b1afd18734bf4f857e77f (diff)
downloadgo-x-website-bc501ffff774407d086ca672d2b03a44ca3f310c.tar.xz
cmd/golangorg: fall back to embedded content when _content is not nearby
If golangbuild is run from a directory other than x/website root or its cmd/golangbuild directory, it's more useful to use the embedded content than a directory that does not exist. This was previously possible by explicitly setting the -content flag to the empty string. This change makes it possible to leave the flag unset, which can be handy for go run golang.org/x/website/cmd/golangorg@latest. Change-Id: Id0e33515b15934fdfcd1cbe594ad4c7b969a1d21 Reviewed-on: https://go-review.googlesource.com/c/website/+/589936 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to '_content/doc/tutorial')
0 files changed, 0 insertions, 0 deletions