Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2015-11-16 22:59:29 +0300
committerXhmikosR <xhmikosr@gmail.com>2015-11-17 19:57:46 +0300
commitb5a37141117c39e49e08b9b1e0e4b83c95ae0503 (patch)
treee6271ab722761a8bc5271e9b77ff6e85a1115328
parenta2aa9525112386d3456f29e925cdc8c507aa6ebf (diff)
Move JSHint task to test target.
-rw-r--r--Gruntfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index a1f3e28..5f0361a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -139,11 +139,11 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
- // Whenever the "test" task is run, first clean the "tmp" dir, then run this
- // plugin's task(s), then test the result.
- grunt.registerTask('test', ['clean', 'nodeunit']);
+ // Whenever the "test" task is run, first clean the "tmp" dir, then lint,
+ // then test the result.
+ grunt.registerTask('test', ['clean', 'jshint', 'nodeunit']);
- // By default, lint and run all tests.
- grunt.registerTask('default', ['jshint', 'test']);
+ // By default, run all tests.
+ grunt.registerTask('default', 'test');
};