354c023467
Finding the revision info from compiled binary (gomobile) built with 'go get' is not currently possible. What we can do instead is to check if the current mobile repository found from GOPATH builds the same binary by running 'go install -x -n' and checking if it outputs any output. If so, this command prints out the revision info of the repository. Otherwise, prints 'unknown'. Sample output: ./gomobile version gomobile version +27329c5 Wed Jul 22 19:29:08 2015 -0400 (android,ios); androidSDK=/Users/hakim/Library/Android/sdk/platforms/android-22 ./gomobile version gomobile version unknown Change-Id: Idc26c8a1dd3b43cc47a5c15ce130e2b97a460cec Reviewed-on: https://go-review.googlesource.com/12455 Reviewed-by: David Crawshaw <crawshaw@golang.org> |
||
---|---|---|
.. | ||
gobind | ||
gomobile |