Skip to content

Instantly share code, notes, and snippets.

@naganowl
Created July 24, 2014 18:41
Show Gist options
  • Save naganowl/be680a39d331357143fa to your computer and use it in GitHub Desktop.
Save naganowl/be680a39d331357143fa to your computer and use it in GitHub Desktop.
Example of how to use Grunt template strings.
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
docco:
local:
src: ['src/**/*.coffee', '*.md']
dest: 'public/docs/'
public:
src: ['<%= docco.local.src %>']
dest: ['<%= docco.local.dest %>']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment