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

Jade Build

by mutian ST2/ST3

Jade Build for Sublime Text

Details

Installs

  • Total 30K
  • Win 17K
  • OS X 8K
  • Linux 4K
Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10
Windows 6 14 13 13 12 18 12 10 11 12 19 11 13 6 7 10 17 13 14 13 15 5 7 10 14 16 7 14 4 10 12 11 9 3 6 6 7 8 4 17 11 18 4 3 17 11
OS X 1 2 3 0 7 4 9 3 0 6 2 5 0 5 0 0 3 2 8 4 1 0 4 2 2 2 4 1 3 3 1 4 2 4 2 1 4 3 3 2 2 0 0 1 4 0
Linux 3 0 3 1 1 4 2 0 3 0 1 1 4 1 0 2 0 4 3 2 2 0 0 1 1 4 1 3 3 1 3 3 3 0 1 3 1 1 1 7 2 2 0 0 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 .