1.0.4 • Published 9 years ago
grunt-checkpending v1.0.4
grunt-checkpending
Check that we have no pending changes before proceeding.
npm install grunt-checkpending --save-devAnd in your Gruntfile:
grunt.loadNpmTasks('grunt-checkpending');Usage
Include the task as one of your multitasks, e.g.:
grunt.registerTask("deploy", ["test", "checkpending", "copy"]To skip checks:
grunt --no-checkpendingTo force checks (disables skipping), add the second param with true:
grunt.registerTask("deploy", ["test", "checkbranch:develop:true", "copy"]