grunt-parallelize
Version:
Parallelize your task.
34 lines (30 loc) • 634 B
JavaScript
;
module.exports = function(grunt) {
grunt.initConfig({
echofilesrc: {
test_src: {
src: [
'../fixtures/error/*.txt',
'../fixtures/*.txt',
]
},
test_filesArray: {
files: [
{src: ['../fixtures/*.txt']},
]
}
},
parallelize: {
echofilesrc: {
test_src: 2,
test_filesArray: 2
}
}
});
// Load this tasks.
grunt.loadTasks('../../tasks');
// Load tasks for testing.
grunt.loadTasks('../tasks');
// Set defaut task.
grunt.registerTask('default', ['parallelize:echofilesrc']);
};