Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrmcc3/boot-lessc
A boot task for processing less files
https://github.com/mrmcc3/boot-lessc
Last synced: 25 days ago
JSON representation
A boot task for processing less files
- Host: GitHub
- URL: https://github.com/mrmcc3/boot-lessc
- Owner: mrmcc3
- Created: 2015-08-19T09:46:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T11:31:33.000Z (over 9 years ago)
- Last Synced: 2024-12-13T21:11:42.049Z (28 days ago)
- Language: Clojure
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boot-lessc
![Clojars Project](http://clojars.org/mrmcc3/boot-lessc/latest-version.svg)
A boot task for processing less files. This task shells out to the official lessc compiler.
To get autoprefixes and minification the autoprefix and clean-css less plugins are used.
These all need to be installed on your system.```bash
$ npm install -g less less-plugin-clean-css less-plugin-autoprefix
```### Usage
in build.boot
```clj
(set-env! :dependencies '[[mrmcc3/boot-lessc "0.1.0-SNAPSHOT"]])
(require '[mrmcc3.boot-lessc :refer [lessc]])
```the `lessc` task will convert all **output** less files to css. To keep imported less files
from themselves being processed put them under a source path. You can import relative to
input directories (source and resource). See the examples folder for a simple example.### LICENSE
Copyright © 2015 Michael McClintock
Distributed under the Eclipse Public License, the same as Clojure.