diff options
Diffstat (limited to 'build.sc')
-rw-r--r-- | build.sc | 44 |
1 files changed, 2 insertions, 42 deletions
@@ -73,62 +73,22 @@ object cask extends CaskModule { } object js extends UtilModule with ScalaJSModule{ - def moduleDeps = Seq(actor.js) def platformSegment = "js" def scalaJSVersion = "0.6.29" def ivyDeps = super.ivyDeps() ++ Agg( + ivy"com.lihaoyi::castor::0.1.0", ivy"org.scala-js::scalajs-dom::0.9.7" ) } object jvm extends UtilModule{ - def moduleDeps = Seq(actor.jvm) def platformSegment = "jvm" def ivyDeps = super.ivyDeps() ++ Agg( + ivy"com.lihaoyi::castor::0.1.0", ivy"org.java-websocket:Java-WebSocket:1.4.0" ) } } - object actor extends Module { - trait ActorModule extends CaskModule { - def artifactName = "cask-actor" - def platformSegment: String - def millSourcePath = super.millSourcePath / os.up - - def sources = T.sources( - millSourcePath / "src", - millSourcePath / s"src-$platformSegment" - ) - - def ivyDeps = Agg(ivy"com.lihaoyi::sourcecode::0.1.8") - - trait ActorTestModule extends Tests { - def sources = T.sources( - millSourcePath / "src", - millSourcePath / s"src-$platformSegment" - ) - def testFrameworks = Seq("utest.runner.Framework") - def ivyDeps = Agg(ivy"com.lihaoyi::utest::0.7.1") - } - } - - object js extends ActorModule with ScalaJSModule{ - def platformSegment = "js" - def scalaJSVersion = "0.6.29" - - object test extends ActorTestModule with Tests - } - object jvm extends ActorModule{ - def platformSegment = "jvm" - - object test extends ActorTestModule with Tests{ - def ivyDeps = super.ivyDeps() ++ Agg( - ivy"com.lihaoyi::os-lib:0.4.2" - ) - } - } - } - object test extends Tests{ def testFrameworks = Seq("utest.runner.Framework") |