diff --git a/Gruntfile.js b/Gruntfile.js index fc7e82a..b03c4b2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -309,14 +309,13 @@ module.exports = function(grunt) { ]); // configs located elsewhere - config.jshint = require('./jshint.conf'); - config.jscs = require('./jscs.conf'); + config.jshint = require('./build/jshint.conf'); + config.jscs = require('./build/jscs.conf'); // finally, give grunt the config object... grunt.initConfig(config); - // load everything in the ./tasks/ directory - grunt.loadTasks('tasks'); + grunt.loadTasks('./build/tasks/'); }; diff --git a/jscs.conf.js b/build/jscs.conf.js similarity index 100% rename from jscs.conf.js rename to build/jscs.conf.js diff --git a/jshint.conf.js b/build/jshint.conf.js similarity index 87% rename from jshint.conf.js rename to build/jshint.conf.js index 03bdaef..cb0df3d 100644 --- a/jshint.conf.js +++ b/build/jshint.conf.js @@ -37,7 +37,8 @@ module.exports = { }, src: [ 'dist/*.js', - '!**/lang-all.js' // exclude + '!**/*.min.js', // exclude + '!**/lang-all.js' // ] }, @@ -45,6 +46,9 @@ module.exports = { tests: 'tests/automated/*.js', - misc: '*.js' // config files in root + misc: [ + '*.js', // ex: Gruntfile.js + 'build/*.js' // ex: this file + ] }; \ No newline at end of file diff --git a/tasks/generateLanguages.js b/build/tasks/generateLanguages.js similarity index 100% rename from tasks/generateLanguages.js rename to build/tasks/generateLanguages.js