Sass asset handling plugin for Play 2.1. Implemented as sbt plugin.
Sass compiler needs to be installed for plugin to work. This means that sass
executable
needs to be found in path. Sass can be installed by by installing sass
gem.
gem install sass
You can verify that sass
has been installed by following command:
% sass -v
Sass 3.1.16 (Brainy Betty)
Add following to your projects project/plugins.sbt
addSbtPlugin("net.litola" % "play-sass" % "0.1.3" from "https://raw.github.com/tthraine/play-sass/master/play-sass-0.1.3.jar")
This adds Sass asset compiler to Play project. *.sass
and *.scss
files in app/assets
directories will then be automatically compiled to *.css
files. Files starting with
_
-character will be left out from compilation as per Play convention.
- 0.1.3 [2012-12-19] Changed to use play 2.1-RC1.
- 0.1.2 [2012-11-16] Minimal windows support by Kalle Bertell. Changed to use play 2.0.4.
- 0.1.1 [2012-08-10] Dependency tracking for imported files. Should behave correctly with incrementalAssetsCompilation := true. Changed to use play 2.0.3, sbt 0.11.3.
- 0.1.0 [2012-05-04] Initial release
This plugin is based on Johannes Emerich's play-stylus plugin for handling Stylus assets.
Copyright (c) 2012 Juha Litola
MIT-style license, see details from LICENSE file.