Sublime Forum

Help adding a new build system (ST2) windows 64 bit

#1

I’d like to make this less command line conversion .exe into a build system but i’m confused about how to do it

I made a file called LESS.sublime-bulid with he following code…

{ "cmd": "dotless.Compiler", "$file"], "selector": "source.less" }

Thanks

0 Likes

#2

That looks fine, assuming there’s a “dotless.Compiler.exe” in your path

0 Likes

#3

Forgive my ignorance but how would I add it to my path?

0 Likes

#4

Something along these lines should do the trick: computerhope.com/issues/ch000549.htm

Make sure you test that the command can be run via the command prompt once you’ve done this.

0 Likes

#5

For future reference

the selector should be

"selector": "source.css.less"

this also works with the ruby version on win

"cmd": "lessc.bat", "$file"],

:smile:

0 Likes