Skip to content
Permalink
Browse files

upgraded less to 1.7.5

This is the last release in the 1.x branch, and also the last release to support rhino. The
2.x releases require promises, which are not implemented in rhino or nashorn.
  • Loading branch information...
sfnelson committed May 26, 2015
1 parent df0d947 commit a9504c72fc609e9a6243539a346984bb3e5f83d0
Showing with 171 additions and 98 deletions.
  1. +7 −4 README.md
  2. +3 −3 project.clj
  3. +1 −1 src/leiningen/less/compiler.clj
  4. +160 −90 src/leiningen/less/{less-rhino-1.7.2.js → less-rhino-1.7.5.js}
@@ -1,17 +1,20 @@
# lein-less

This is a Leiningen plugin that will compile Less CSS files (see [lesscss.org](http://lesscss.org)) using the `less.js` compiler running on the JVM. `lein-less` is ideal for compiling Less CSS files during automated builds: compilation happens as part of your regular leiningen build without requiring any tools or configuration other than your leiningen project file.
This is a Leiningen plugin that will compile Less CSS files (see [lesscss.org](http://lesscss.org)) using the `less.js`
compiler running on the JVM. `lein-less` is ideal for compiling Less CSS files during automated builds: compilation
happens as part of your regular leiningen build without requiring any tools or configuration other than your leiningen
project file.

## Requirements

This plugin is only tested against recent versions of leiningen and clojure. Works with Java 7 or Java 8.

## Usage

To install the plugin, add `[lein-less "1.7.2"]` to your `project.clj` file:
To install the plugin, add `[lein-less "1.7.5"]` to your `project.clj` file:

```
:plugins [[lein-less "1.7.2"]]
:plugins [[lein-less "1.7.5"]]
```

The plugin will compile `.less` files found in your leiningen project's resource directories.
@@ -46,6 +49,6 @@ add `leiningen.less` to your leiningen project file's hooks:

## License

Copyright © 2013 Montoux Ltd.
Copyright © 2015 Montoux Ltd.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
@@ -1,4 +1,4 @@
(defproject lein-less "1.7.4-SNAPSHOT"
(defproject lein-less "1.7.5-SNAPSHOT"
:description "Less CSS compiler plugin for leiningen"
:url "http://github.com/montoux/lein-less"
:license {:name "Eclipse Public License"
@@ -10,6 +10,6 @@
:eval-in :leiningen
:min-lein-version "2.3.0"

:profiles {:dev {:dependencies [[org.clojure/clojure "1.5.1" :optional true]
[leiningen-core "2.3.4" :optional true]]}}
:profiles {:dev {:dependencies [[org.clojure/clojure "1.6.0" :optional true]
[leiningen-core "2.5.1" :optional true]]}}
)
@@ -10,7 +10,7 @@
(leiningen.less LessError)))


(def version "1.7.2")
(def version "1.7.5")
(def less-js (format "leiningen/less/less-rhino-%s.js" version))
(def lessc-js (format "leiningen/less/lessc.js"))

0 comments on commit a9504c7

Please sign in to comment.
You can’t perform that action at this time.