ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Jade Build

by mutian ST2/ST3

Jade Build for Sublime Text

Details

Installs

  • Total 28K
  • Win 16K
  • OS X 8K
  • Linux 4K
May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14
Windows 5 12 6 19 17 17 13 9 15 11 14 14 17 12 15 14 13 17 23 17 18 20 17 12 17 16 16 13 9 13 14 9 15 12 26 17 12 14 18 11 16 10 11 8 10 12
OS X 2 1 1 2 4 6 6 6 3 6 2 4 3 2 8 3 1 5 7 6 2 6 2 1 6 1 6 4 4 1 0 5 2 2 3 4 1 1 1 5 3 4 4 2 1 8
Linux 0 1 2 6 2 1 6 1 0 1 4 3 1 3 1 0 1 3 1 7 3 3 3 1 1 4 1 2 1 2 3 3 1 0 1 4 2 5 1 3 1 3 1 4 2 0

Readme

Source
raw.​githubusercontent.​com

Jade Build for Sublime Text

Description

Build system for Jade, compiles .jade files into .html files.

Prerequisites

Requires Node.js & Jade libraries. Step by step:

  1. Install Node.js

    Download and install Node.js. You can find it here: http://nodejs.org .

    Reboot after install it.

  2. Install Jade

    Open your console and execute the following command:

* Windows: `npm install jade --global`

* OS X: `sudo npm install jade --global`

Installation

OPTION 1 - with Package Control (recommended)

The easiest way to install this package is through Package Control.

  1. Install Package Control, follow instructions on the website.

  2. Open command panel: Ctrl+Shift+P (Linux/Windows) or Cmd+Shift+P (OS X) and select Package Control: Install Package.

  3. When packages list appears, type Jade and 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:

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages/

  • Windows: %APPDATA%/Sublime Text 2/Packages/

  • Linux: ~/.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.

Usage

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

Recommendations

  • 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 html folder: "cmd": ["jade", "$file", "--out", "../html", "--pretty"],

Author

Created by Mutian (http://mutian.wang).

For more info, you can send email to me: mutian(a)me.com!

Acknowledgements

Thanks to the RIA Team of Weibo.com .