Skip to content

Instantly share code, notes, and snippets.

@truepattern
truepattern / gist:2877717
Created June 5, 2012 20:42
Grunt task for compiling jade to client side
module.exports = function(grunt) {
var config = grunt.config;
var file = grunt.file;
var log = grunt.log;
grunt.registerMultiTask("jade",
"Compile jade templates to JST file", function() {
// If namespace is specified use that, otherwise fallback