cmd/gomobile: cleanup and link to wiki docs

Change-Id: Iaaa5208c663f8d1ff8acf1a632b5fe05976d86a4
Reviewed-on: https://go-review.googlesource.com/13610
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
David Crawshaw 2015-08-12 12:04:03 -04:00
parent ec91477003
commit df7e121d2f
3 changed files with 10 additions and 16 deletions

View File

@ -12,11 +12,8 @@ To install:
$ go get golang.org/x/mobile/cmd/gomobile
$ gomobile init
At least Go 1.5 is required. Until it is released, build tip from
source: http://golang.org/doc/install/source
Initialization rebuilds the standard library and may download
the Android NDK compiler.
At least Go 1.5 is required.
For detailed instructions, see https://golang.org/wiki/Mobile.
Usage:
@ -106,11 +103,11 @@ Usage:
gomobile init [-u]
Init downloads and installs the Android C++ compiler toolchain.
Init installs the Android C++ compiler toolchain and builds copies
of the Go standard library for mobile devices.
When first run, it downloads part of the Android NDK.
The toolchain is installed in $GOPATH/pkg/gomobile.
If the Android C++ compiler toolchain already exists in the path,
it skips download and uses the existing toolchain.
The -u option forces download and installation of the new toolchain
even when the toolchain exists.

View File

@ -58,11 +58,11 @@ var cmdInit = &command{
Usage: "[-u]",
Short: "install android compiler toolchain",
Long: `
Init downloads and installs the Android C++ compiler toolchain.
Init installs the Android C++ compiler toolchain and builds copies
of the Go standard library for mobile devices.
When first run, it downloads part of the Android NDK.
The toolchain is installed in $GOPATH/pkg/gomobile.
If the Android C++ compiler toolchain already exists in the path,
it skips download and uses the existing toolchain.
The -u option forces download and installation of the new toolchain
even when the toolchain exists.

View File

@ -162,11 +162,8 @@ To install:
$ go get golang.org/x/mobile/cmd/gomobile
$ gomobile init
At least Go 1.5 is required. Until it is released, build tip from
source: http://golang.org/doc/install/source
Initialization rebuilds the standard library and may download
the Android NDK compiler.
At least Go 1.5 is required.
For detailed instructions, see https://golang.org/wiki/Mobile.
Usage: