Skip to main content

CoffeeScript compiler for Gears

Project description

CoffeeScript compiler for Gears. This package already includes the CoffeeScript source code for you, so you don’t need to worry about installing it yourself.

Installation

Install gears-coffeescript with pip:

$ pip install gears-coffeescript

Requirements

gears-coffeescript requires node.js to be installed in your system.

Usage

Add gears_coffeescript.CoffeeScriptCompiler to environment’s compilers registry:

from gears_coffeescript import CoffeeScriptCompiler
environment.compilers.register('.coffee', CoffeeScriptCompiler.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
    '.coffee': 'gears_coffeescript.CoffeeScriptCompiler',
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gears-coffeescript-0.1.tar.gz (69.7 kB view details)

Uploaded Source

File details

Details for the file gears-coffeescript-0.1.tar.gz.

File metadata

File hashes

Hashes for gears-coffeescript-0.1.tar.gz
Algorithm Hash digest
SHA256 31b47824fa1df4b98e218dabfa1ea438f3200c7032c9fb6a3e51031c69e821f9
MD5 275e01663a4edd0e01dd91f6bc607b83
BLAKE2b-256 798d417a828694e9e56a0dd2b741e8e2ed144b5cc7e8d9a7aceb81d33f202bfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page