]> Cypherpunks repositories - gostls13.git/commit
go: documentation for new command
authorRuss Cox <rsc@golang.org>
Wed, 28 Sep 2011 20:00:12 +0000 (16:00 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 28 Sep 2011 20:00:12 +0000 (16:00 -0400)
commit9aae6482f41de1a9cef2e039be1d668ac2c42d00
tree1136546a3ef6572a95ade99860ca06c25ea803c2
parent7b0f3caa26a46f2d8ef277ff677efec899618871
go: documentation for new command

*** This is a design review, not a code review. ***
Feel free to reply to the mail instead of picking out
individual lines to comment on in Rietveld.

This command, go, will replace both gomake/make and goinstall.
Make will stick around only for building our C commands
and perhaps package runtime.

In normal use while developing you'd run commands like

        go compile
        go test
        go clean
        go install

which apply to the package in the current directory.

To operate on code written by others, you add an explicit
package path:

        go get gopath.googlecode.com/hg/oauth
        go test gopath.googlecode.com/hg/oauth

The script.txt file is a script showing the output of
the various help commands that the command has.
(Right now, all the command can do is print help messages.)

R=golang-dev, bradfitz, kevlar, r, edsrzf, gri, adg, rogpeppe, r
CC=golang-dev
https://golang.org/cl/5019045
src/cmd/go/script.txt [new file with mode: 0644]