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

Jade Build

by mutian ST2/ST3

Jade Build for Sublime Text

Details

Installs

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

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 .