Home Download Buy Blog Forum Support

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

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

Postby firefusion on Mon Feb 21, 2011 6:46 pm

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...

Code: Select all
{
   "cmd": ["dotless.Compiler", "$file"],
   "selector": "source.less"
}


Thanks
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

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

Postby jps on Mon Feb 21, 2011 11:05 pm

That looks fine, assuming there's a "dotless.Compiler.exe" in your path
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

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

Postby firefusion on Tue Feb 22, 2011 10:59 am

Forgive my ignorance but how would I add it to my path?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

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

Postby jps on Tue Feb 22, 2011 1:01 pm

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

Make sure you test that the command can be run via the command prompt once you've done this.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

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

Postby atomi on Fri Feb 25, 2011 8:36 pm

For future reference

the selector should be
Code: Select all
"selector": "source.css.less"

this also works with the ruby version on win
Code: Select all
"cmd": ["lessc.bat", "$file"],


:)
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US


Return to Technical Support

Who is online

Users browsing this forum: chriskent, Google [Bot] and 35 guests