Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip/features and fixes for 2.0 #37

Merged
merged 7 commits into from
Mar 14, 2015
Merged

Conversation

jsuereth
Copy link
Owner

This PR does a few things:

  • Pulls in all the goodness from sbt.Using in the org.scala-sbt % sbt library
  • Removes all continuation related code
  • Minor refresh of the docs
  • Removes all deprecated methods from 1.x
  • Adds "apply" as another way to right "acquireAndGet" as most imperative-usage will want the nicer syntax.

Review by @eed3si9n for the sbt.Using port.

Note: This does remove some API which isn't deprecated in 1.x. We can backport those deprecations after we solidify on what 2.0 looks like/means.

* Remove all continuations code.
* Update documentation.
* Add new `fileLines` method to Using.
* Bump version to 2.0
* Shed a tear over the loss of continuations in Scala.
@jsuereth jsuereth force-pushed the wip/features-and-fixes-for-2.0 branch from c88e4ce to 334742a Compare January 14, 2015 19:44
def open: T = {
val parent = source.getParentFile
if(parent != null) {
// TODO - use an IO library for this

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to retry 100 times like sbt.IO.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this a serious comment?

jsuereth added a commit that referenced this pull request Mar 14, 2015
@jsuereth jsuereth merged commit d5c8446 into master Mar 14, 2015
@jsuereth jsuereth deleted the wip/features-and-fixes-for-2.0 branch March 14, 2015 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants