Skip to content

Commit

Permalink
0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Nov 7, 2019
1 parent 1d52dd1 commit 9be09d4
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 1,349 deletions.
44 changes: 2 additions & 42 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
86 changes: 0 additions & 86 deletions cask/actor/src/Actors.scala

This file was deleted.

190 changes: 0 additions & 190 deletions cask/actor/src/Context.scala

This file was deleted.

Loading

0 comments on commit 9be09d4

Please sign in to comment.