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-crossprojectto targetScala 1.2.0 - [x] Configured
build.stfor 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
dslProjectare green on both JS and JVM platform - [x] Tests for
macrosProjectare green and only run on JVM platform since they are a compile-time feature. - [x] Upgraded
specs2to version4.10.3which fully supportsscalajs1. - [x] Upgraded
monocle-coreto version1.7.3(latest major 1.x version that uses scalaz) that supportsscalajs1 - [x] Added a
jitpack.ymlfile so that we can fetch cross compiled artifacts from jitpack.io for no-yet-released branches like this one.