summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorWubTheCaptain <wub@partyvan.eu>2015-09-20 14:33:03 +0200
committerWubTheCaptain <wub@partyvan.eu>2015-09-20 14:33:03 +0200
commite88b0a008de53cd344bf67d02392f241edbe16db (patch)
treeee8a7fa2fe527eb8691d67736911a56b4d97899d /Gruntfile.js
parentf24e5ee6ad88c40f813102d385ccdc4ee7b44c6d (diff)
Move JSHint task away from default/dist to test
It should not be fatal to fail the build process if there's a syntax error somewhere. Users don't need to care about that too much, only developers should.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 5a1bd94..c0249cb 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -120,5 +120,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-copy');
- grunt.registerTask('default', ['jshint', 'mkdir', 'swig', 'htmlmin', 'cssmin', 'uglify', 'imagemin', 'copy']);
+ grunt.registerTask('default', ['mkdir', 'swig', 'htmlmin', 'cssmin', 'uglify', 'imagemin', 'copy']);
+ grunt.registerTask('test', ['jshint']);
};