Integrate go with the binary goal.

Review Request #2681 - Created Aug. 21, 2015 and submitted

Information
John Sirois
pants
jsirois/go/binary
2044
17e884a...
Reviewers
pants-reviews
kwlzn, mateor, nhoward_tw, zundel
The GoCompile already does the hard work of creating the go executables,
they're just tucked away under `.pants.d/`.  The GoBinaryCreate task
just copies them over to `dist/` for easy discovery and a stable path to
rely on for higher level build automation.

 contrib/go/src/python/pants/contrib/go/register.py                           |  2 ++
 contrib/go/src/python/pants/contrib/go/tasks/BUILD                           | 12 +++++++++++
 contrib/go/src/python/pants/contrib/go/tasks/go_binary_create.py             | 46 +++++++++++++++++++++++++++++++++++++++++
 contrib/go/src/python/pants/contrib/go/tasks/go_compile.py                   |  7 +++----
 contrib/go/tests/python/pants_test/contrib/go/tasks/BUILD                    | 14 +++++++++++++
 contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_create.py | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
 contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_buildgen.py      | 26 ++++++++---------------
 tests/python/pants_test/base_test.py                                         | 13 ++++++++++++
 8 files changed, 155 insertions(+), 21 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/76689600
Nick Howard (Twitter)
Cody Gibb
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...