UNPKG

grunt-parallelize

Version:
46 lines (41 loc) 827 B
'use strict'; module.exports = function(grunt) { grunt.initConfig({ echofilesrc: { test_src: { src: '../fixtures/*.txt', }, test_filesArray: { files: [ {src: ['../fixtures/*.txt']}, ] } }, echofilesrc2: { test_src: { src: '../fixtures/*.txt', }, test_filesArray: { files: [ {src: ['../fixtures/*.txt']}, ] } }, parallelize: { echofilesrc: { test_src: 2, test_filesArray: 2 }, echofilesrc2: { 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']); };