grunt-update-submodules

v0.4.1
Updates git submodules
git gruntplugin submodule update

Build Status Coverage Status Dependency Status devDependency Status Gittip

NPM

grunt-update-submodules

Grunt task to update git submodules.

Installing

Install and add to dependencies.

npm install grunt-update-submodules --save-dev

Load the task in Gruntfile.js.

task.loadNpmTasks( "grunt-update-submodules" );

Usage

grunt.initConfig({
    "update_submodules": {
        default: {
            options: {
                // default command line parameters will be used: --init --recursive
            }
        },
        withCustomParameters: {
            options: {
                params: "--force" // specifies your own command-line parameters
            }
        },
        withNoParameter: {
            options: {
                params: false // blanks command-line parameters
            }
        }
    }
});

License

Copyright (c) 2012 - 2014 Julian Aubourg Licensed under the MIT license.

npm i grunt-update-submodules

Metadata

  • Unknown
  • >= 0.10.0
  • Julian Aubourg
  • released 5/12/2014

Downloads

Maintainers