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

Cross build to 2.13 and Scala Native #34

Merged
merged 5 commits into from
Jul 8, 2017
Merged

Conversation

olafurpg
Copy link
Collaborator

@olafurpg olafurpg commented Jul 8, 2017

This PR builds on top of #30 and adds additional support for Scala Native, superseding #29.

@olafurpg olafurpg mentioned this pull request Jul 8, 2017
Previously, nothing ran on CI because the tests are not using an sbt
test framework runner.
Scala.js 0.6.18 added support for JVM-style main functions which makes
it possible to use the same entry point for the tests on all platforms.
It's important to skip publish in the root build to avoid publishing an
empty package.
Scala Native currently only support 2.11. 2.12 support is expected in
the next release but not 2.10. sbt-doge is an sbt plugin that adds two
helpful commands to deal with the crossScalaVersions gaps in the native
project:

- `pls $SCALA_VERSION test`, like `++SCALA_VERSION test` except skip
  tests that don't define that SCALA_VERSION in crossScalaVersions.
- `very test`, runs `test` for all projects for all crossScalaVersions
  defined for each individual project. Same works for publishing.
@olafurpg olafurpg changed the title Cross build to 2.13 Cross build to 2.13 and Scala Native Jul 8, 2017
@olafurpg olafurpg merged commit f917ee8 into com-lihaoyi:master Jul 8, 2017
@olafurpg olafurpg deleted the 2.13 branch July 8, 2017 23:36
This was referenced Jul 8, 2017
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.

2 participants