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

ScalaJS artifact #97

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

ScalaJS artifact #97

wants to merge 4 commits into from

Conversation

fwbrasil
Copy link
Contributor

I'd like to be able to use clump from ScalaJS. The cross build itself is simple, but the pull request has many changes because specs2 isn't compatible with ScalaJS so I had to migrate the tests to use http://github.com/lihaoyi/utest.

f.map(_ => throw NoError).recover {
case NoError => throw new IllegalStateException("A failure was expected.")
case e: T => None
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll prepare a pull request to utest to introduce support for Future to intercept. This is a temporary solution.

@fwbrasil
Copy link
Contributor Author

cc/ @stevenheidel @williamboxhall

@ngbinh
Copy link

ngbinh commented Jun 26, 2015

Using scalatest http://mvnrepository.com/artifact/org.scalatest/scalatest_2.11/3.0.0-M4 will make the transition easier!

@williamboxhall
Copy link
Contributor

+1 for scalatest

@stevenheidel
Copy link
Contributor

+2 for scalatest

On Fri, Jun 26, 2015, 05:15 William Boxhall [email protected]
wrote:

+1 for scalatest


Reply to this email directly or view it on GitHub
#97 (comment).

@fwbrasil
Copy link
Contributor Author

@ngbinh I couldn't find documentation saying that ScalaTest is compatible with ScalaJS. Are you sure it is possible to use ScalaTest for the cross compilation?

@ngbinh
Copy link

ngbinh commented Jun 26, 2015

@fwbrasil scalatest 2.3.x branch has supported scala.js from scalatest/scalatest#585 .The latest version is scalatest/scalatest#549

@ngbinh
Copy link

ngbinh commented Jun 26, 2015

scala.js artifact http://mvnrepository.com/artifact/org.scalatest/scalatest-all_sjs0.6_2.10/3.0.0-M4

"org.scalatest"   %%% "scalatest" % "3.0.0-M4" % Test

should pull in the right ones.

@ngbinh
Copy link

ngbinh commented Feb 13, 2016

any update here? I would love to try Clump on scala.js

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.

4 participants