Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add YUI processor plugin to minify js resources #1278

Merged
merged 1 commit into from

3 participants

Jeppe Nejsum Madsen Lukasz Kuczera David Pollak
Jeppe Nejsum Madsen
Owner

A fix for #1231

Lukasz Kuczera
Collaborator

Cool, we wanted this. Looks ok.

David Pollak dpp merged commit 639de47 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 13, 2012
  1. Jeppe Nejsum Madsen
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +2 −2 project/Build.scala
  2. +2 −1  project/project/Plugins.scala
4 project/Build.scala
View
@@ -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")
3  project/project/Plugins.scala
View
@@ -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")
}
Something went wrong with that request. Please try again.