diff options
| author | Dmitri Shuralyov <dmitshur@golang.org> | 2024-06-03 13:31:56 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-06-03 18:50:37 +0000 |
| commit | bc501ffff774407d086ca672d2b03a44ca3f310c (patch) | |
| tree | 151892d0b70daecfe938f721d67ff8d33a4d38da /_content/doc/tutorial/workspaces.md | |
| parent | abb9f5be80baa843731b1afd18734bf4f857e77f (diff) | |
| download | go-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/workspaces.md')
0 files changed, 0 insertions, 0 deletions
