Skip to content
A Less CSS compilation task for Leiningen
Clojure
Find file
Latest commit af4b1a6 Jun 12, 2012 @fmancinelli Merge pull request #7 from michaelklishin/patch-1
Update version reference & installation routing in the README
Failed to load latest commit information.
src/leiningen
.gitignore Initial import Apr 26, 2012
README.md Update version reference & installation routing in the README Jun 12, 2012
project.clj Marking next release cycle Jun 10, 2012

README.md

Introduction

This plugin allows the user to compile Less CSS resources to be used in the application.

Usage

  • Add [lein-lesscss "1.2"] to the :plugins section in your project.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"
...

Contributors

License

Copyright © 2012 Fabio Mancinelli fabio@mancinelli.me

Distributed under the LGPLv3 license

Something went wrong with that request. Please try again.