Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Yui Compressor Plugin for sbt

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 project
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE.txt
Octocat-spinner-32 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 ...
Something went wrong with that request. Please try again.