Created
November 8, 2011 09:57
-
-
Save druu/1347392 to your computer and use it in GitHub Desktop.
LessCSS Build System for Sublime Text 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Basic LessCSS Build System for Sublime Text 2 | |
* | |
* Prerequisites: node.js, global lesscss node module | |
* How it works: | |
* 1. Create the folders "src/css" and "assets/css" in your project root | |
* 2. Put all your .less files into "src/css" | |
* 3. Open your main .less file and hit "Build" | |
* 4. Dance happily around your minified and compiled CSS file in "assets/css" | |
* 5. Profit | |
*/ | |
{ | |
"cmd": ["/usr/local/bin/lessc", "-x", "$file", "${file_path}/../../assets/css/${file_base_name}.css"], | |
"path": "/usr/local/bin", | |
"selector": "source.less" | |
} |
I don't have any .css.less files... .less only ;)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The selector is wrong, should be: