1
0
mirror of https://github.com/golang/go synced 2024-11-24 19:00:13 -07:00

doc: add go command notes to the Go 1 doc

Fixes #2912.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5783048
This commit is contained in:
Andrew Gerrand 2012-03-08 16:09:49 +11:00
parent d4fb568e04
commit 70db237169
2 changed files with 38 additions and 2 deletions

View File

@ -2087,7 +2087,25 @@ The semantic changes make it difficult for the fix tool to update automatically.
<h2 id="cmd_go">The go command</h2> <h2 id="cmd_go">The go command</h2>
<p> <p>
TODO: Write this. Go 1 introduces the <a href="/cmd/go/">go command</a>, a tool for fetching,
building, and installing Go packages and commands. The <code>go</code> command
does away with makefiles, instead using Go source code to find dependencies and
determine build conditions. Most existing Go programs will no longer require
makefiles to be built.
</p>
<p>
See <a href="/doc/code.html">How to Write Go Code</a> for a primer on the
<code>go</code> command and the <a href="/cmd/go/">go command documentation</a>
for the full details.
</p>
<p>
<em>Updating</em>:
Projects that depend on the Go project's old makefile-based build
infrastructure (<code>Make.pkg</code>, <code>Make.cmd</code>, and so on) should
switch to using the <code>go</code> command for building Go code and, if
necessary, rewrite their makefiles to perform any auxiliary build tasks.
</p> </p>
<h2 id="cmd_cgo">The cgo command</h2> <h2 id="cmd_cgo">The cgo command</h2>

View File

@ -1959,7 +1959,25 @@ The semantic changes make it difficult for the fix tool to update automatically.
<h2 id="cmd_go">The go command</h2> <h2 id="cmd_go">The go command</h2>
<p> <p>
TODO: Write this. Go 1 introduces the <a href="/cmd/go/">go command</a>, a tool for fetching,
building, and installing Go packages and commands. The <code>go</code> command
does away with makefiles, instead using Go source code to find dependencies and
determine build conditions. Most existing Go programs will no longer require
makefiles to be built.
</p>
<p>
See <a href="/doc/code.html">How to Write Go Code</a> for a primer on the
<code>go</code> command and the <a href="/cmd/go/">go command documentation</a>
for the full details.
</p>
<p>
<em>Updating</em>:
Projects that depend on the Go project's old makefile-based build
infrastructure (<code>Make.pkg</code>, <code>Make.cmd</code>, and so on) should
switch to using the <code>go</code> command for building Go code and, if
necessary, rewrite their makefiles to perform any auxiliary build tasks.
</p> </p>
<h2 id="cmd_cgo">The cgo command</h2> <h2 id="cmd_cgo">The cgo command</h2>