From 6dcc72f2fa678256c3529e51c83d2d77f711bdf2 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 10 Aug 2014 18:20:10 -0700 Subject: 0.1.5 --- Plugin.scala | 2 +- build.sbt | 4 +--- example/src/main/scala/example/ScalaJSExample.scala | 2 +- 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) = diff --git a/build.sbt b/build.sbt index 2a1e7e4..709101d 100644 --- a/build.sbt +++ b/build.sbt @@ -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) } diff --git a/readme.md b/readme.md index 9a18cd5..9616a7a 100644 --- a/readme.md +++ b/readme.md @@ -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 -- cgit v1.2.3