diff options
Diffstat (limited to 'library/jqupload/Gruntfile.js')
-rw-r--r-- | library/jqupload/Gruntfile.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/library/jqupload/Gruntfile.js b/library/jqupload/Gruntfile.js new file mode 100644 index 000000000..dcdb5d57a --- /dev/null +++ b/library/jqupload/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']); + +}; |