Jade Build for Sublime Text
Build system for Jade, compiles .jade files into .html files.
Requires Node.js & Jade libraries. Step by step:
Download and install Node.js. You can find it here: http://nodejs.org .
Reboot after install it.
Open your console and execute the following command:
npm install jade --global
sudo npm install jade --global
OPTION 1 - with Package Control (recommended)
The easiest way to install this package is through Package Control.
Install Package Control, follow instructions on the website.
Open command panel:
Cmd+Shift+P(OS X) and select Package Control: Install Package.
When packages list appears, type
Jadeand you'll find Jade Build, select to install it.
OPTION 2 - with Git
Clone the repository in your Sublime Text "Packages" directory:
git clone git://github.com/mutian/Sublime-Jade-Build.git "Jade Build"
You can find your "Packages" inside the following directories:
~/Library/Application Support/Sublime Text 2/Packages/
%APPDATA%/Sublime Text 2/Packages/
~/.Sublime Text 2/Packages/
OPTION 3 - without Git
Download the latest source zip from Github and extract it into a new folder named
Jade Build in your Sublime Text "Packages" folder.
After installing, you will find a new options in
Tools > Build system of your Sublime menu: Jade.
Remember, always you can launch the selected build with
Control+B (Linux/Windows) or
Command+B (OS X).
Recommend to use with plugin Jade.
Also, I recommend the plugin SublimeOnSaveBuild, just save your Jade files and transform them into HTML!
If you want to change the default folder of your generated HTML files into another one, you can edit the build.
Example: Save your HTML files into a parent
"cmd": ["jade", "$file", "--out", "../html", "--pretty"],
Created by Mutian (http://mutian.wang).
For more info, you can send email to me: mutian(a)me.com!