Boot task to compile Less.
- Provides the
less
task - For each
.main.less
in fileset creates equivalent.css
file. - Uses Less4j Java implementation of Less compiler through less4clj clojure wrapper
- For parallel leiningen plugin check less-less4j
- For parallel sass task check boot-sass
[s source-map bool "Create source-map for compiled CSS."
c compression bool "Compress compiled CSS using simple compression."]
To create css file public/css/main.css
have the less file on path public/css/main.main.less
or use sift task to move the css file:
(comp (less) (sift :move {#"main.css" "public/css/main.css"}))
Copyright © 2014-2015 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.