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

Jade Build

by mutian ST2/ST3

Jade Build for Sublime Text

Details

Installs

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

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 .