Add a new 'export' goal for use by IDE integration

Review Request #1929 — Created March 17, 2015 and submitted

zundel
pants
zundel/add-project-info-goal
1266
ff4ecde...
pants-reviews
fkorotkov, jsirois, patricklaw, tejal

Part two of two in separating out a separate goal from depmap for use by an IDE
See also https://rbcommons.com/s/twitter/r/1917/

  • Copied 'depmap' to 'export' and trimmed out the unecessary stuff for running
    --project-info
  • Marked --project-info flag as deprecated in depmap.

Copied unit tests and integration tests for depmap to new tests.

PANTS_DEV=1 ./pants export examples/src/java/com/pants/examples::
PANTS_DEV=1 ./pants export --formatted examples/src/java/com/pants/examples::
TE
  1. Ship It!
  2. 
      
FK
  1. Ship It!
  2. 
      
ZU
  1. 
      
  2. Is this option used for exporting via project info? We can keep it, but if its always set one way or the other, I would rather just simplify the code and remove this option.

    1. it is not used by project info related code.

  3. 
      
ZU
ZU
ZU
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks for the reviews Fedor & Tejal. Submitted at fcfcb78.
Fedor wanted to use this so I went ahead and merged to master, but feedback is still welcome.

Loading...