This plugin allows the user to compile Less CSS resources to be used in the application.
-
Add
[lein-lesscss "1.2"]to the:pluginssection in yourproject.cljor~/.lein/profiles.clj(the latter is Leiningen 2-specific). -
Use the
lesscsstask to perform the compilation.
You can specify in your project.clj the :lesscss-paths attribute as a list
of directories where Less CSS files are stored. By default this parameter is set
to less. You can also specify the output path using :lesscss-output-path.
For example:
...
:lesscss-paths ["less" "path/to/other/location"]
:lesscss-output-path "resource/public/css"
...
- Fabio Mancinelli fabio@mancinelli.me
- John Szakmeister john@szakmeister.net
Copyright © 2012 Fabio Mancinelli fabio@mancinelli.me
Distributed under the LGPLv3 license