This plugin allows the user to compile Less CSS resources to be used in the application.
-
Add
[lein-lesscss "1.2"]
to the:plugins
section in yourproject.clj
or~/.lein/profiles.clj
(the latter is Leiningen 2-specific). -
Use the
lesscss
task 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 [email protected]
- John Szakmeister [email protected]
Copyright © 2012 Fabio Mancinelli [email protected]
Distributed under the LGPLv3 license