goggles
goggles copied to clipboard
Cross compile projects for Scala and Scala.js
Allows using goggles
from Scala.js projects. I know a previous scala.js branch was reverted #44 due to it altering the project layout, on this PR I'm trying to keep things on their original place while still compiling to both platforms.
Now that Scala.js 1
is on the wild it's much more easier to cross compile this project without changing the project structure.
- [x] Added plugin
sbt-crossproject
to targetScala 1.2.0
- [x] Configured
build.st
for cross compilation root projects have the settingwithoutSuffixFor(JVMPlatform)
so that you can use them directly without prefixsbt> dslProject/test ... [info] Passed: Total 141, Failed 0, Errors 0, Passed 141 sbt> dslProjectJS/test [info] Passed: Total 141, Failed 0, Errors 0, Passed 141
- [x] Tests for
dslProject
are green on both JS and JVM platform - [x] Tests for
macrosProject
are green and only run on JVM platform since they are a compile-time feature. - [x] Upgraded
specs2
to version4.10.3
which fully supportsscalajs1
. - [x] Upgraded
monocle-core
to version1.7.3
(latest major 1.x version that uses scalaz) that supportsscalajs1
- [x] Added a
jitpack.yml
file so that we can fetch cross compiled artifacts from jitpack.io for no-yet-released branches like this one.