https://github.com/mrmcc3/boot-lessc
A boot task for processing less files
https://github.com/mrmcc3/boot-lessc
Last synced: 3 months 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T11:31:33.000Z (almost 10 years ago)
- Last Synced: 2025-03-27T06:11:50.604Z (4 months 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

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.