Skip to content

Ragil/grunt-parallel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-parallel

Run commands and tasks in parallel.

Getting Started

Install this grunt plugin next to your project's Gruntfile.js gruntfile with: npm install grunt-parallel --save-dev

Then add this line to your project's Gruntfile.js gruntfile:

grunt.loadNpmTasks('grunt-parallel');

Documentation

Settings

grunt.initConfig({
  parallel: {
    assets: [{
      grunt: true,
      args: ['requirejs']
    }, {
      grunt: true,
      args: ['compass']
    },{
      cmd: 'some-custom-shell-script.sh'
    }]
  }
});

One might target the task using grunt parallel:assets. This would run compass, requirejs, and a custom shell script at the same time, each logging to your console when they are done.

License

Copyright (c) 2013 Merrick Christensen Licensed under the MIT license.

About

Run commands and tasks as child processes!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published