Skip to content

Commit

Permalink
Merge pull request #23 from digitaljhelms/grunt-dryrun
Browse files Browse the repository at this point in the history
feat(grunt): Introducing "dryrun" grunt task for development usage
  • Loading branch information
oswaldoacauan committed Dec 8, 2013
2 parents 62753d6 + 53e3011 commit 2e00cf1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions Gruntfile.js
Expand Up @@ -417,6 +417,18 @@ module.exports = function(grunt) {
'csso:build'
]);

/**
* Dry-run task
* Run `grunt dryrun` on the command line
* Build and move bundled files to root
*/
grunt.registerTask('dryrun', 'Build and move bundled files to root', [
'build',
'clean:release',
'copy:release',
'clean:build'
]);

/**
* Release task
* Run `grunt release` on the command line
Expand All @@ -428,10 +440,7 @@ module.exports = function(grunt) {
function(versionType) {
grunt.task.run('push:' + (versionType || '') + ':bump-only');
grunt.task.run([
'build',
'clean:release',
'copy:release',
'clean:build',
'dryrun',
'changelog'
]);
grunt.task.run('push-commit');
Expand Down

0 comments on commit 2e00cf1

Please sign in to comment.