Yui Compressor Plugin for sbt
Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src
.gitignore
MIT-LICENSE.txt
README.textile

README.textile

Yui Compressor Plugin for SBT

simple-build-tool plugin to minify CSS and JS files in a web project using
Yahoo’s Yui Compressor

SBT is the scala based build tool with smart continuous compilation and a dsl syntax

This plugin was heavily influenced by David Bernard’s Yui compressor plugin for maven:
davidB/yuicompressor-maven-plugin

Usage

Check out the “Use the Plugin” section of the SbtPlugins Howto

In your Plugins.scala:

instead of

 val a = … 
do
 val sbtYui = “hoffrocket” % “sbt-yui” % “0.2.1”

Mix in to your project definition:


  class MyWebProject(info: ProjectInfo) extends DefaultWebProject(info) with hoffrocket.YuiCompressorPlugin ...