How to glob match and glob export to various directories?
corysimmons opened this issue · 1 comments
corysimmons commented
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
stylus: {
compile: {
files: {
'stylus/**/*.css': 'stylus/**/*.styl'
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-stylus');
grunt.registerTask('default', 'stylus');
};
I'm trying this because I want the .styl files to end up as .css as siblings to the .styl files.
Here's my folder structure:
And you can see the resulting fail as **/*
file. note the .css files as siblings to the .styl files were compiled manually - not with grunt, so no success story here.
Any suggestions?
sindresorhus commented
Support questions are better asked on StackOverflow:
http://stackoverflow.com/questions/tagged/gruntjs