Skip to content

Instantly share code, notes, and snippets.

@nobonobo
Created January 7, 2016 03:39
Show Gist options
  • Select an option

  • Save nobonobo/def4e3dbac45008702cf to your computer and use it in GitHub Desktop.

Select an option

Save nobonobo/def4e3dbac45008702cf to your computer and use it in GitHub Desktop.
フラッピーGopherのビルドと実行
go get -u golang.org/x/mobile/cmd/...
gomobile init
cd $GOPATH/src/golang.org/x/mobile/example/flappy
go build .
./flappy
@nobonobo
Copy link
Copy Markdown
Author

nobonobo commented Jan 7, 2016

go get -u golang.org/x/mobile/cmd/..
gomobile init
gomobile build -target android golang.org/x/mobile/example/flappy # for android
gomobile build -target ios golang.org/x/mobile/example/flappy # for iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment