Skip to content

Instantly share code, notes, and snippets.

@cowboy
Created April 3, 2012 22:06
Show Gist options
  • Select an option

  • Save cowboy/2295818 to your computer and use it in GitHub Desktop.

Select an option

Save cowboy/2295818 to your computer and use it in GitHub Desktop.
For Pamela
// Process a file as a template.
grunt.registerHelper('file_process', function(filepath, opts) {
var src = file.read(filepath);
return grunt.template.process(src);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment