Skip to content

Added Extracted.runInputTask#2006

Merged
jsuereth merged 1 commit intosbt:0.13from
jroper:run-input-task
Jun 17, 2015
Merged

Added Extracted.runInputTask#2006
jsuereth merged 1 commit intosbt:0.13from
jroper:run-input-task

Conversation

@jroper
Copy link
Member

@jroper jroper commented May 7, 2015

This provides a convenience function for running an input task from the extracted state. This is particularly useful for commands, release steps etc that may want to run input tasks, like scripted.

I haven't added tests, because I'm not sure where the right place to test this is - I don't think any of the specs are applicable here unless there's any easy way to fire up a fake sbt project, so maybe a scripted test? But should it be an existing scripted test? If there is a right place, let me know, and I'll add a test there.

@eed3si9n eed3si9n added the ready label May 7, 2015
@typesafe-tools
Copy link

Can one of the admins verify this patch?

@jsuereth
Copy link
Member

jsuereth commented May 7, 2015

Nice! yes we should get a test. The right place is probably be in the "api" section of scripted tests. There is nothing specific to Project.extract at this point.

@jsuereth
Copy link
Member

jsuereth commented May 7, 2015

Also, the code itself LGTM

@jsuereth
Copy link
Member

@jroper woudl you mind rebasing this against master? Should clean up the PR validation failures.

@jroper
Copy link
Member Author

jroper commented Jun 9, 2015

Rebased, tests written.

@jsuereth
Copy link
Member

jsuereth commented Jun 9, 2015

I give a grade I+

@dwijnand
Copy link
Member

dwijnand commented Jun 9, 2015

Either now that this has just kicked off a Travis build, or if you want when it's done, notes plz! :D

@eed3si9n eed3si9n added this to the 0.13.9 milestone Jun 9, 2015
@eed3si9n
Copy link
Member

eed3si9n commented Jun 9, 2015

This provides a convenience function for running an input task from the
extracted state. This is particularly useful for commands, release steps
etc that may want to run input tasks, like scripted.
@jroper
Copy link
Member Author

jroper commented Jun 10, 2015

Release note added.

@dwijnand
Copy link
Member

LGTM. Nice tests.

jsuereth added a commit that referenced this pull request Jun 17, 2015
@jsuereth jsuereth merged commit 0c1d07d into sbt:0.13 Jun 17, 2015
@jsuereth jsuereth removed the ready label Jun 17, 2015
@jroper jroper deleted the run-input-task branch August 11, 2015 23:49
adpi2 pushed a commit to adpi2/sbt that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants