GitXplorerGitXplorer
e

grunt-nested-tasks-runner

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d7978741c029b73cfd292672a0909c13b7acb8b5

Make it run :)

eerykpiast committed 11 years ago
Unverified
7deefd46292ebcb05c9bdabd46395281066b366d

Add missing dependency

eerykpiast committed 11 years ago
Unverified
ddab8da672b00412df9fb0b57a9a06f2dde844f8

Update package.json

eerykpiast committed 11 years ago
Unverified
4cc5d8efb3fab3be52d8577e1b67caf195fedf1a

Update README.md

eerykpiast committed 11 years ago
Unverified
dc8ce8afb47e4177f9ebc586fd0df66e72b1141f

Add example of use

eerykpiast committed 11 years ago
Unverified
cc0b4fe7290ddbf1b193356304eb11e0662acbb3

Create runner.js

eerykpiast committed 11 years ago

README

The README file for this repository.

grunt-nestedtasksrunner

Nested tasks generator for Grunt.

Example of use

  grunt.initConfig({
    ...
    build: {
      dev: {
        options: { // optional
          concurrent: true, // default `false`
          logConcurrentOutput: true // default `false`
        },
        server: [ 'copy:server' ],
        webapp: {
          options: { // optional
            concurrent: true
          },
          js: [ 'copy:js', 'requirejs:dev' ],
          css: [ 'compass:dev', 'copy:css-assets', 'autoprefixer:dev' ]
        }
      }
    }
    ...
  });
  
  var nestedTask = require('grunt-nestedtasksrunner')(grunt);
  
  grunt.registerTask('build', nestedTask);

Command grunt build:dev runs every task in group dev. Task server and webapp will be run simultaneously, like tasks js and css.