diff options
author | lihaoyi <haoyi.sg@gmail.com> | 2013-11-17 16:22:30 -0800 |
---|---|---|
committer | lihaoyi <haoyi.sg@gmail.com> | 2013-11-17 16:22:30 -0800 |
commit | f48a24f376bc97064a9679f3b80b266e24cc76ba (patch) | |
tree | 53adf12615ba0947658981f0c27d094dff6fdf43 /project | |
parent | 12d6290b225dbec02bc04b13d14a2a29132e7da2 (diff) | |
download | workbench-f48a24f376bc97064a9679f3b80b266e24cc76ba.tar.gz workbench-f48a24f376bc97064a9679f3b80b266e24cc76ba.tar.bz2 workbench-f48a24f376bc97064a9679f3b80b266e24cc76ba.zip |
first real commit
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 21 | ||||
-rw-r--r-- | project/plugins.sbt | 1 |
2 files changed, 17 insertions, 5 deletions
diff --git a/project/Build.scala b/project/Build.scala index 50dda40..726d8fd 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -1,10 +1,23 @@ import sbt._ +import Keys._ + object Build extends sbt.Build { import sbt._ - lazy val runtime = Project("runtime", file("runtime")) - lazy val plugin = Project("plugin", file("plugin")) - - + override lazy val projects = Seq(root) + lazy val root = + Project("scala-js-workbench", file(".")) + .dependsOn(uri("../WebSockets")) + .settings( + sbtPlugin := true, + (resources in Compile) := {(resources in Compile).value ++ (baseDirectory.value * "*.js").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" + ) + ) }
\ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt deleted file mode 100644 index 142a3c7..0000000 --- a/project/plugins.sbt +++ /dev/null @@ -1 +0,0 @@ -addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.1-SNAPSHOT")
\ No newline at end of file |