diff options
Diffstat (limited to 'library/blueimp_upload/Gruntfile.js')
-rw-r--r-- | library/blueimp_upload/Gruntfile.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/library/blueimp_upload/Gruntfile.js b/library/blueimp_upload/Gruntfile.js new file mode 100644 index 000000000..dcdb5d57a --- /dev/null +++ b/library/blueimp_upload/Gruntfile.js @@ -0,0 +1,37 @@ +/* + * jQuery File Upload Gruntfile + * https://github.com/blueimp/jQuery-File-Upload + * + * Copyright 2013, Sebastian Tschan + * https://blueimp.net + * + * Licensed under the MIT license: + * http://www.opensource.org/licenses/MIT + */ + +/*global module */ + +module.exports = function (grunt) { + 'use strict'; + + grunt.initConfig({ + jshint: { + options: { + jshintrc: '.jshintrc' + }, + all: [ + 'Gruntfile.js', + 'js/cors/*.js', + 'js/*.js', + 'server/node/server.js', + 'test/test.js' + ] + } + }); + + grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-bump-build-git'); + grunt.registerTask('test', ['jshint']); + grunt.registerTask('default', ['test']); + +}; |