Less CSS Compiler for Windows (lessc.exe)
LESS is a language that helps CSS Designers to write better manageable and extensible CSS style sheets.
Current less compiler called lessc is only available for the *nix platforms, which can compile LESS files to CSS.
Where is lessc.exe ?
lessc.exe for those who are in a hurry :) .
It is attached to the bottom of this post also so feel free to read on.
How to use the lessc.exe
This compiler is adapted from the .net port of less compiler called dotless Compiler, which takes in a filename and outputs to another file.
dotless Compiler 184.108.40.206 Compiles .less files to css files. Usage: dotless.Compiler.exe [-switches]
[outputfile] Switches: -m --minify - Output CSS will be compressed -w --watch - Watches .less file for changes -h --help - Displays this dialog inputfile: .less file dotless should compile to CSS outputfile: (optional) desired filename for .css output Defaults to inputfile.css
In addition to the above options, the lessc.exe attached accepts less code from the standard input stream and outputs css to standard output stream.
This is useful so that django-compressor and similar modules of the Django framework, which depends on a binary to convert other formats like LESS to CSS work without using another named temporary file.
The default dot less compiler tries to do too much smartness which gets in the way of things. Like it adds a less extension to the filename you passed, even though you dont have a less extension to the actual file.
The source code is forked on github, Check it out