Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dependency on Node.js? #461

Answered by Philippus
peteraldous asked this question in Q&A
Discussion options

I'm working on a pull request. I finished a first pass at the feature I'd like to add and ran sbt test to make sure I didn't break anything before writing some additional tests of my own.

I didn't mind installing clang (I've been meaning to start a project that uses LLVM this summer), but I'm more than a little surprised that this test suite depends on Node.js. I'm mostly unfamiliar with Node, although I'm aware of the left pad fiasco and don't trust the framework; because of my unfamiliarity, I'm at a loss to explain this dependency. Would you mind indulging my curiosity?

You must be logged in to vote

That's for running the tests for scala.js.

You can use parserCombinatorsJVM / test in sbt to run just the JVM testsuite.

Replies: 1 comment 2 replies

Comment options

That's for running the tests for scala.js.

You can use parserCombinatorsJVM / test in sbt to run just the JVM testsuite.

You must be logged in to vote
2 replies
Comment options

Thanks for the quick response!

Comment options

It's worth adding, in case anyone else comes across this, that I had a lot of trouble using the library as a submodule because sbt insisted on running all tests when I tried to test the project that depended on this project. I ended up just symlinking/copying a jar built by doing sbt +package into the lib directory. It was a pain but it worked.

Answer selected by peteraldous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /