The plugin assumes the availability of the
stylus executable. With
node.js and npm installed, run
npm install -g stylus
to install stylus globally, thereby installing not only the module, but also the executable.
In your Play application folder, add
resolvers += "Patience Releases" at "http://repo.patience.io/" addSbtPlugin("patience" % "play-stylus" % "1.0.0")
The plugin registers for compilation of
app/assets/**/*.styl, that is all stylus files in your
compile:resource-generators: The stylus file watcher is being added here
play-stylus-entry-points: All files matching
app/assets/**/*.styl, except files starting in an underscore
play-stylus-options: A sequence of strings passed to stylus as command-line flags
Copyright (c) 2012 Johannes Emerich
MIT-style licensing, for details see file LICENSE.