Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
grunt task to update git submodules
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
tasks
test
.jscs.json
.jshint.json Enforce strict mode
.travis.yml
Coverage.js
Gruntfile.js
LICENSE-MIT
README.md
package.json Ticks the version if only for the removal of the grunt dependency

README.md

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.

Something went wrong with that request. Please try again.