grunt-tube

Install grunt tasks once and once is annoying.

Grunt Tube

Install grunt tasks once and once is annoying.

Grunt-tube provide a simple way to manage global tasks.

Then the workflow will be as follow:

  1. run your own task
  2. run grunt-tube, then it will run global tasks you specified under ~/.grunt-tube/tasks for you

usage:

specify an config fire: grunt-tube --config default

a typical config file (such as default.js) is like below

module.exports = {
 
    load:[
        "grunt-contrib-clean",
        "grunt-contrib-jshint"
    ],
    task:["clean","jshint"],
    init:{
        ...
    }
 
}