summaryrefslogtreecommitdiff
path: root/project/Build.scala
blob: af554b6a7c80e1dc034b908f3857a7a0b184ee29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import sbt._
import Keys._


object Build extends sbt.Build {
  import sbt._

  override lazy val projects = Seq(root)
  lazy val root =
    Project("scala-js-workbench", file("."))
      .dependsOn(uri("git://github.com/lihaoyi/SprayWebSockets.git"))
      .settings(
        sbtPlugin := true,
        (resources in Compile) := {(resources in Compile).value ++ (baseDirectory.value * "*.ts").get},
        resolvers += "spray repo" at "http://repo.spray.io",
        resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/releases/",
        libraryDependencies ++= Seq(
          "io.spray" % "spray-can" % "1.2-RC3",
          "com.typesafe.akka"   %%  "akka-actor"    % "2.2.3",
          "com.typesafe.play" %% "play-json" % "2.2.0-RC1"
        )
      )
}