Skip to content

Instantly share code, notes, and snippets.

@Sharondio
Created December 23, 2013 21:52
Show Gist options
  • Save Sharondio/8105460 to your computer and use it in GitHub Desktop.
Save Sharondio/8105460 to your computer and use it in GitHub Desktop.
Jade in a gruntfile, taking from my views directory and creating along with all sub-folders in my static directory.
jade: {
dynamic_mappings: {
files: [
{
expand: true,
cwd: 'views/',
src: ['**/*.jade'],
dest: 'static',
ext: '.html'
}
]
},
compile: {
options: {
data: {
debug: true
}
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment