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

Already on GitHub? Sign in to your account

Port to scala 2.11 #3

Closed
paulp opened this Issue Feb 7, 2014 · 11 comments

Comments

Projects
None yet
3 participants
Contributor

paulp commented Feb 7, 2014

I'm kind of in the market for something like this but 2.10 is no longer an option for me. Just throwing it out there. Thanks.

Owner

lihaoyi commented Feb 7, 2014

Since 2.11 isn't out yet, do you mean 2.11-M8?

On Fri, Feb 7, 2014 at 12:19 PM, Paul Phillips notifications@github.comwrote:

I'm kind of in the market for something like this but 2.10 is no longer an
option for me. Just throwing it out there. Thanks.

Reply to this email directly or view it on GitHubhttps://github.com/lihaoyi/utest/issues/3
.

Contributor

paulp commented Feb 7, 2014

It goes by 2.11.0-M8, but yes

Owner

lihaoyi commented Feb 8, 2014

I'll see if I can cross publish; this SBT thing can't be that hard, and I'm not using anything fancy...

Contributor

paulp commented Feb 8, 2014

Words last heard from General Custer, but thanks whatever happens!

Owner

lihaoyi commented Feb 8, 2014

So I just pushed a 2.11 branch, compatible with 2.11.0-M8. Notable differences:

  • I removed the types from the error messages generated by the macro asserts, since I couldn't manage to stop them from blowing up in 2.11.0-M8. Hopefully someone on scala-user will show me the magic incantation I need to make this work.
  • The ScalaJS version doesn't work yet, since the latest ScalaJS supports is 2.11.0-M7. I'll just wait for them to catch up.
  • You'll need to publishLocal it yourself. Cloning the 2.11 branch and running `sbt ";publishLocal; runner/publishLocal" should do the trick.
  • Your SBT config will naturally have to change:
libraryDependencies += "com.lihaoyi.utest" % "utest_2.11.0-M8" % "0.1.1"

scalaVersion := "2.11.0-M8"

Still a WIP, but certainly good enough to use. I'll be maintaining this branch as 2.11 progresses and turn it into trunk when it hits final.

Try it out! =) Feel free to reopen if you find stuff broken

@lihaoyi lihaoyi closed this Feb 8, 2014

Contributor

paulp commented Feb 8, 2014

Thanks a lot! Will give it a look.

Any chance of publishing a version of 0.1.3 for Scala 2.11 now that the official release is out? It would be much appreciated.

Owner

lihaoyi commented Apr 24, 2014

There is working code in the 1.3 branch; you can clone the repo and publishLocal it to use it for now. I'm not quite done with it, and have some minor tweaks before publishing it for real.

Okay great I will wait for the official release then, just glad to hear it is being prepared.

Owner

lihaoyi commented Apr 24, 2014

0.1.3 has been published

Wonderful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment