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