diff options
-rw-r--r-- | Plugin.scala | 2 | ||||
-rw-r--r-- | build.sbt | 4 | ||||
-rw-r--r-- | example/src/main/scala/example/ScalaJSExample.scala | 2 | ||||
-rw-r--r-- | readme.md | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/Plugin.scala b/Plugin.scala index 81359a5..c155ac1 100644 --- a/Plugin.scala +++ b/Plugin.scala @@ -37,7 +37,7 @@ object Plugin extends sbt.Plugin { s"http://${localUrl._1}:${localUrl._2}$path" } }, - extraLoggers := { + (extraLoggers in ThisBuild) := { val clientLogger = FullLogger{ new Logger { def log(level: Level.Value, message: => String) = @@ -2,7 +2,7 @@ import sbt.Keys._ name := "workbench" -version := "0.1.3" +version := "0.1.5" organization := "com.lihaoyi" @@ -36,8 +36,6 @@ pomExtra := ( (resources in Compile) := {(resources in Compile).value ++ (baseDirectory.value * "*.js").get} -resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/releases/" - libraryDependencies ++= Seq( "io.spray" % "spray-can" % "1.3.1", "io.spray" % "spray-routing" % "1.3.1", diff --git a/example/src/main/scala/example/ScalaJSExample.scala b/example/src/main/scala/example/ScalaJSExample.scala index 8509a0e..7222143 100644 --- a/example/src/main/scala/example/ScalaJSExample.scala +++ b/example/src/main/scala/example/ScalaJSExample.scala @@ -21,7 +21,7 @@ object ScalaJSExample { val corners = Seq(Point(255, 255), Point(0, 255), Point(128, 0)) def clear() = { - ctx.fillStyle = "white" + ctx.fillStyle = "black" ctx.fillRect(0, 0, 255, 255) } @@ -20,7 +20,7 @@ resolvers += "spray repo" at "http://repo.spray.io" resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" -addSbtPlugin("com.lihaoyi" % "workbench" % "0.1.3") +addSbtPlugin("com.lihaoyi" % "workbench" % "0.1.5") ``` - Add to your `build.sbt` ```scala |