Skip to content

Commit 7b82d6b

Browse files
danpfindleyr
authored andcommitted
_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 <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 439e806 commit 7b82d6b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

_content/doc/install/source.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h2 id="go14">Install Go compiler binaries for bootstrap</h2>
138138
<li> 1.5 &lt;= Go &lt;= 1.19: a Go 1.4 compiler.
139139
<li> 1.20 &lt;= Go &lt;= 1.21: a Go 1.17 compiler.
140140
<li> 1.22 &lt;= Go &lt;= 1.23: a Go 1.20 compiler.
141-
<li> Going forward, Go version 1.N will require a Go 1.M compiler,
141+
<li> Going forward, Go version 1.N will require a Go 1.M compiler,
142142
where M is N-2 rounded down to an even number. Example: Go 1.24 and 1.25 require Go 1.22.
143143
</ul>
144144

@@ -313,20 +313,18 @@ <h2 id="install">Install Go</h2>
313313

314314
<pre>
315315
$ cd src
316-
$ ./all.bash
316+
$ ./make.bash
317317
</pre>
318318

319319
<p>
320-
(To build under Windows use <code>all.bat</code>.)
320+
(To build under Windows use <code>make.bat</code>.)
321321
</p>
322322

323323
<p>
324324
If all goes well, it will finish by printing output like:
325325
</p>
326326

327327
<pre>
328-
ALL TESTS PASSED
329-
330328
---
331329
Installed Go for linux/amd64 in /home/you/go.
332330
Installed commands in /home/you/go/bin.
@@ -342,10 +340,8 @@ <h2 id="install">Install Go</h2>
342340
<p>
343341
For more information about ways to control the build, see the discussion of
344342
<a href="#environment">environment variables</a> below.
345-
<code>all.bash</code> (or <code>all.bat</code>) runs important tests for Go,
346-
which can take more time than simply building Go. If you do not want to run
347-
the test suite use <code>make.bash</code> (or <code>make.bat</code>)
348-
instead.
343+
You can also run <code>all.bash</code> (or <code>all.bat</code>) to run
344+
important tests for Go, which can take more time than simply building Go.
349345
</p>
350346
</div>
351347

0 commit comments

Comments
 (0)