Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deraen/boot-less
Boot task to compile Less
https://github.com/deraen/boot-less
Last synced: 2 days ago
JSON representation
Boot task to compile Less
- Host: GitHub
- URL: https://github.com/deraen/boot-less
- Owner: Deraen
- License: epl-1.0
- Created: 2014-12-15T22:58:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T17:25:28.000Z (almost 9 years ago)
- Last Synced: 2023-03-24T13:26:48.694Z (over 1 year ago)
- Language: Clojure
- Size: 108 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# boot-less
[![Clojars Project](http://clojars.org/deraen/boot-less/latest-version.svg)](http://clojars.org/deraen/boot-less)# [Moved to Deraen/less4clj](https://github.com/Deraen/less4clj)
[Boot](https://github.com/boot-clj/boot) task to compile Less.
* Provides the `less` task
* For each `.main.less` in fileset creates equivalent `.css` file.
* Uses [Less4j](https://github.com/SomMeri/less4j) Java implementation of Less compiler through [less4clj clojure wrapper](https://github.com/Deraen/less4clj)
* For parallel leiningen plugin check [less-less4j](https://github.com/Deraen/lein-less4j/)
* For parallel [sass](http://sass-lang.com/) task check [boot-sass](https://github.com/Deraen/boot-sass)## Usage
```clj
[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"}))`## License
Copyright © 2014-2015 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.