commit | e4a08af010a34d221ae30f4cc0506379a7210e30 | [log] [tgz] |
---|---|---|
author | Hajime Hoshi <hajimehoshi@gmail.com> | Tue Feb 09 00:05:55 2021 +0900 |
committer | Hajime Hoshi <hajimehoshi@gmail.com> | Mon Feb 08 16:36:35 2021 +0000 |
tree | fddc4f0b44cf40c61fc7da2ec034df2b12c3c297 | |
parent | e6ae53a27f4fd7cfa2943f2ae47b96cba8eb01c9 [diff] |
cmd/gomobile: create go.sum at the temporary directory As of Go1.16, `go build` fails if go.sum does not exist. This change fixes this issue by forcing to create go.sum by calling `go mod tidy`. Closes golang/go#44162 Change-Id: Ibba738503d1a58c6533b2427dd4efa6954b8eaa3 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/290409 Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com> Trust: Than McIntosh <thanm@google.com> Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.