2
0
mirror of synced 2025-02-22 22:38:18 +00:00

example/basic,example/sprite: give a reference to gomobile installation

Removing the duplicate installation instructions and giving a reference
to the gomobile godoc.

Change-Id: I476e4a4f4545eeb17d9ba18f471076d63c1f15d1
Reviewed-on: https://go-review.googlesource.com/9631
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Burcu Dogan 2015-05-01 12:30:20 -07:00
parent 812950cfd1
commit 88e68e02f0
2 changed files with 4 additions and 78 deletions

View File

@ -2,49 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// TODO(jbd): Refer to http://golang.org/doc/install/source
// once Go 1.5 instructions are complete.
// An app that draws a green triangle on a red background.
//
// Note: This demo is an early preview of Go 1.5. In order to build this
// program as an Android APK using the gomobile tool, you need to install
// Go 1.5 from the source.
// program as an Android APK using the gomobile tool.
//
// Clone the source from the tip under $HOME/go directory. On Windows,
// you may like to clone the repo to your user folder, %USERPROFILE%\go.
//
// $ git clone https://go.googlesource.com/go $HOME/go
//
// Go 1.5 requires Go 1.4. Read more about this requirement at
// http://golang.org/s/go15bootstrap.
// Set GOROOT_BOOTSTRAP to the GOROOT of your existing 1.4 installation or
// follow the steps below to checkout go1.4 from the source and build.
//
// $ git clone https://go.googlesource.com/go $HOME/go1.4
// $ cd $HOME/go1.4
// $ git checkout go1.4.1
// $ cd src && ./make.bash
//
// If you clone Go 1.4 to a different destination, set GOROOT_BOOTSTRAP
// environmental variable accordingly.
//
// Build Go 1.5 and add Go 1.5 bin to your path.
//
// $ cd $HOME/go/src && ./make.bash
// $ export PATH=$PATH:$HOME/go/bin
//
// Set a GOPATH if no GOPATH is set, add $GOPATH/bin to your path.
//
// $ export GOPATH=$HOME
// $ export PATH=$PATH:$GOPATH/bin
//
// Get the gomobile tool and initialize.
//
// $ go get golang.org/x/mobile/cmd/gomobile
// $ gomobile init
//
// It may take a while to initialize gomobile, please wait.
// See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile.
//
// Get the basic example and use gomobile to build or install it on your device.
//

View File

@ -2,49 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// TODO(jbd): Refer to http://golang.org/doc/install/source
// once Go 1.5 instructions are complete.
// An app that demonstrates the sprite package.
//
// Note: This demo is an early preview of Go 1.5. In order to build this
// program as an Android APK using the gomobile tool, you need to install
// Go 1.5 from the source.
// program as an Android APK using the gomobile tool.
//
// Clone the source from the tip under $HOME/go directory. On Windows,
// you may like to clone the repo to your user folder, %USERPROFILE%\go.
//
// $ git clone https://go.googlesource.com/go $HOME/go
//
// Go 1.5 requires Go 1.4. Read more about this requirement at
// http://golang.org/s/go15bootstrap.
// Set GOROOT_BOOTSTRAP to the GOROOT of your existing 1.4 installation or
// follow the steps below to checkout go1.4 from the source and build.
//
// $ git clone https://go.googlesource.com/go $HOME/go1.4
// $ cd $HOME/go1.4
// $ git checkout go1.4.1
// $ cd src && ./make.bash
//
// If you clone Go 1.4 to a different destination, set GOROOT_BOOTSTRAP
// environmental variable accordingly.
//
// Build Go 1.5 and add Go 1.5 bin to your path.
//
// $ cd $HOME/go/src && ./make.bash
// $ export PATH=$PATH:$HOME/go/bin
//
// Set a GOPATH if no GOPATH is set, add $GOPATH/bin to your path.
//
// $ export GOPATH=$HOME
// $ export PATH=$PATH:$GOPATH/bin
//
// Get the gomobile tool and initialize.
//
// $ go get golang.org/x/mobile/cmd/gomobile
// $ gomobile init
//
// It may take a while to initialize gomobile, please wait.
// See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile.
//
// Get the sprite example and use gomobile to build or install it on your device.
//