diff --git a/Gruntfile.js b/Gruntfile.js index f74559a..dfe5993 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,6 +4,10 @@ module.exports = function (grunt) { + if (grunt.option('q') || grunt.option('quiet')) { + require('quiet-grunt'); + } + // Project configuration. var config = { pkg: grunt.file.readJSON('package.json'), diff --git a/package.json b/package.json index 7c24a90..4f1f5f5 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "grunt-simple-mocha": "^0.4.0", "js-beautify": "^1.5.6", "load-grunt-tasks": "^3.2.0", + "quiet-grunt": "^0.2.3", "sinon": "^1.14.1", "source-map-support": "^0.2.9" }