Skip to content

fmancinelli/lein-lesscss

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

A Less CSS compilation task for Leiningen

Resources

Stars

Watchers

Forks

Packages

No packages published