aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Peterson <danp@danp.net>2025-11-01 14:23:42 -0300
committerRobert Findley <rfindley@google.com>2025-11-19 07:57:35 -0800
commit7b82d6b8b40d831f0ad2ee33a0fb8d798910fdf0 (patch)
tree2e6ec837b2c385bcc6a3159abe9871e5df3cf143
parent439e806c2394f704435cf39a66b3aca410870f41 (diff)
downloadgo-x-website-7b82d6b8b40d831f0ad2ee33a0fb8d798910fdf0.tar.xz
_content/doc/install: prefer make.bash for source install
The source install directions use all.bash with a later mention of make.bash. This can lead to surprises when the tests take a long time or aren't reliable in certain environments. Change things to prefer make.bash with a mention of all.bash later. Updates golang/go#76142 Change-Id: Ibe5ea3b1c2da3733ed8e36f4938cae754bd3a027 Reviewed-on: https://go-review.googlesource.com/c/website/+/717040 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
-rw-r--r--_content/doc/install/source.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/_content/doc/install/source.html b/_content/doc/install/source.html
index bcafecf6..8e777dd6 100644
--- a/_content/doc/install/source.html
+++ b/_content/doc/install/source.html
@@ -138,7 +138,7 @@ The minimum version of Go required depends on the target version of Go:
<li> 1.5 &lt;= Go &lt;= 1.19: a Go 1.4 compiler.
<li> 1.20 &lt;= Go &lt;= 1.21: a Go 1.17 compiler.
<li> 1.22 &lt;= Go &lt;= 1.23: a Go 1.20 compiler.
-<li> Going forward, Go version 1.N will require a Go 1.M compiler,
+<li> Going forward, Go version 1.N will require a Go 1.M compiler,
where M is N-2 rounded down to an even number. Example: Go 1.24 and 1.25 require Go 1.22.
</ul>
@@ -313,11 +313,11 @@ To build the Go distribution, run
<pre>
$ cd src
-$ ./all.bash
+$ ./make.bash
</pre>
<p>
-(To build under Windows use <code>all.bat</code>.)
+(To build under Windows use <code>make.bat</code>.)
</p>
<p>
@@ -325,8 +325,6 @@ If all goes well, it will finish by printing output like:
</p>
<pre>
-ALL TESTS PASSED
-
---
Installed Go for linux/amd64 in /home/you/go.
Installed commands in /home/you/go/bin.
@@ -342,10 +340,8 @@ architecture, and root directory used during the install.
<p>
For more information about ways to control the build, see the discussion of
<a href="#environment">environment variables</a> below.
-<code>all.bash</code> (or <code>all.bat</code>) runs important tests for Go,
-which can take more time than simply building Go. If you do not want to run
-the test suite use <code>make.bash</code> (or <code>make.bat</code>)
-instead.
+You can also run <code>all.bash</code> (or <code>all.bat</code>) to run
+important tests for Go, which can take more time than simply building Go.
</p>
</div>