Created
December 23, 2013 21:52
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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