Coder Social home page Coder Social logo

sublime-jade-build's Introduction

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 .

sublime-jade-build's People

Contributors

mutian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.