Skip to content

bertramdev/coffee-asset-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coffee Asset-Pipeline

Build Status

MOVED: This project has moved to a sub project of the main asset-pipeline repository http://github.com/bertramdev/asset-pipeline

Overview

The Coffee Asset-Pipeline module provides coffeescript compilation support for the jvm based asset-pipeline. Simply add this file to your buildscript classpath or development environment and they are automatically processed.

For more information on how to use asset-pipeline, visit here.

Installation

Simply add this plugin to your classpath in gradle or dependencies list depending on how you are using it

//Example build.gradle file
buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath 'com.bertramlabs.plugins:asset-pipeline-gradle:2.1.1'
    classpath 'com.bertramlabs.plugins:coffee-asset-pipeline:2.0.6'
  }
}

Usage

Simply create files in your standard assets/javascripts folder with extension .coffee or .js.coffee. You also may require other files by using the following requires syntax at the top of each file:

#= require test
#= require_self
#= require_tree .

NOTE: If the command line node coffee command is detected on your system. The application will attempt to use node to compile your javascript instead.

About

JVM Gradle Coffeescript Asset-Pipeline Plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages