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

Jade Build

by mutian ALL

Jade Build for Sublime Text

Details

Installs

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