SimpleCodegenTask: Add copy_target_attributes

Review Request #3352 - Created Jan. 20, 2016 and submitted

Information
David Turner
pants
3353
Reviewers
pants-reviews
jsirois, stuhood
Add a property to SimpleCodegenTask to allow subclasses to choose
which attributes to copy from the original target to the synthetic
target.

This fixes a TODO in the code and prepares for codegen in golang
(which doesn't do 'provides').

https://travis-ci.org/pantsbuild/pants/builds/102430307 passed

David Turner
Stu Hood
David Turner
Review request changed

Status: Closed (submitted)

Change Summary:

in master at eccd523a8a3d785f0e781efdf228d5aefd58709d

Nick Howard (Twitter)

Could you add some tests for this?

  1. https://rbcommons.com/s/twitter/r/3365/

Loading...