Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

dominykas/grunt-checkpending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-checkpending

Check that we have no pending changes before proceeding.

Build Status

npm install grunt-checkpending --save-dev

And 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-checkpending

To force checks (disables skipping), add the second param with true:

grunt.registerTask("deploy", ["test", "checkbranch:develop:true", "copy"]

About

A grunt task, which fails, if the current git repository has pending changes.

Resources

Stars

Watchers

Forks

Packages

No packages published