Glob support?
mrjoelkemp opened this issue · comments
Joel Kemp commented
Is there glob support for compiling multiple files into separate files? In other words, is there support for something similar to:
Taken from grunt-contrib-coffee
glob_to_multiple: {
cwd: 'path/to',
src: ['*.coffee'],
dest: 'path/to/dest/'
}
I've tried doing this with glob syntax in the files
object definition of the task and I get a folder created with the name **
.
Thanks!
Anshul Khandelwal commented
I need this too...
Keiichiro Matsumoto commented
Try expand:true
slim: {
compile: {
files: [{
expand: true
cwd: 'path/to'
src: ['{,*/}*.slim']
dest: 'path/to/dest'
ext: '.html'
}]
}
}
Joel Kemp commented
👍 Thanks a ton!