Skip to content

Instantly share code, notes, and snippets.

@dnlmzw
Created July 27, 2013 12:49
Show Gist options
  • Save dnlmzw/6094783 to your computer and use it in GitHub Desktop.
Save dnlmzw/6094783 to your computer and use it in GitHub Desktop.
jst:
options:
processName: (filename) ->
return filename.replace('<%= BASE_PATH %>/templates/','').replace('.jst','')
compile:
expand: true
cwd: '<%= BASE_PATH %>/templates/'
src: ['**/*.jst']
dest: '<%= DEVELOPMENT_PATH %>/scripts/templates/'
ext: '.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment