Skip to content

Commit

Permalink
Add YUI processor plugin to minify js resources
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppenejsum committed Jun 13, 2012
1 parent 238de8a commit fbc3efb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ object BuildDef extends Build {
lazy val webkit =
webProject("webkit")
.dependsOn(util, testkit % "provided")
.settings(description := "Webkit Library",
.settings((org.scala_tools.sbt.yuiCompressor.Plugin.yuiSettings ++ Seq(description := "Webkit Library",
parallelExecution in Test := false,
libraryDependencies <++= scalaVersion { sv =>
Seq(commons_fileupload, servlet_api, specs(sv).copy(configurations = Some("provided")), jetty6, jwebunit)
},
initialize in Test <<= (sourceDirectory in Test) { src =>
System.setProperty("net.liftweb.webapptest.src.test.webapp", (src / "webapp").absString)
})
})):_*)

lazy val wizard =
webProject("wizard")
Expand Down
3 changes: 2 additions & 1 deletion project/project/Plugins.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sbt._

object PluginDef extends Build {
lazy val root = Project("plugins", file(".")) dependsOn(buildPlugin)
lazy val root = Project("plugins", file(".")) dependsOn(buildPlugin, yuiPlugin)
lazy val yuiPlugin = uri("git://github.com/indrajitr/sbt-yui-compressor")
lazy val buildPlugin = uri("git://github.com/indrajitr/sbt-lift-build-plugin.git#c78f617f62")
}

0 comments on commit fbc3efb

Please sign in to comment.