Home Download Buy Blog Forum Support

Jade Build System

Jade Build System

Postby socrattes on Sat Mar 31, 2012 11:43 pm

Hi guys.
I've searched everywhere but I can't find any way to Build my jade files.

This is my Jade.sublime-build:
Code: Select all
{
   "cmd": ["jade", "$file"],
   "selector": "source.jade"
}

When I build the file ( ctrl + b, F7 )

This is what Sublime Output says:
Code: Select all
Running jade F:\Webs\stub\views\index.jade

(if i execute this line on cmd, it works perfectly)

And I get this error:
Code: Select all
[Error 2] The system cannot find the file specified [Finished]


Can anyone help me?

Thanks a lot in advance, and thanks for this awesome IDE
socrattes
 
Posts: 13
Joined: Fri Mar 30, 2012 9:25 pm

Re: Jade Build System

Postby erinata on Sun Apr 01, 2012 5:24 am

I know nothing about jade but it may help if you use "jade.cmd" "jade.bat" or "jade.exe" instead of just "jade"

if all of them are not working, you may try
Code: Select all
{
   "cmd": ["cmd", "/c", "jade", "$file"],
   "selector": "source.jade"
}
erinata
 
Posts: 29
Joined: Wed Jan 25, 2012 12:19 pm

Re: Jade Build System

Postby socrattes on Sun Apr 01, 2012 8:18 pm

Hey erinata, it works like a charm! Thanks.

Could you explain me why it works with the addition of "cmd", "/c" ?

Thanks again!
socrattes
 
Posts: 13
Joined: Fri Mar 30, 2012 9:25 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 20 guests